I have a box rotated by different angles in 3D space. For this Box I am using a Drafthorse plugin to create a two detail on a layout that are supposed to show two boxes elevations.
To crate two details I am using “Make 2D Parallel View” component to make two views that are shown on picture below.
or to simplify a question. Is there a currently possibility with Grasshopper to create a detail view on a object in space in such way that camera of the view is aligned with custom input plane?
@Faruk_100 I don’t have Drafthorse installed, but one way at least that I would know of is that you create a Model View with the same plane and give it some name. After baking it will appear to the Saved View tab.
From there it can be assigned as a view in detail in Rhino. Or maybe referenced by name in your layout creation process in gh.
@Faruk_100 the NewDetail and ModifyDetail components both take “Model View” inputs. These can be defined within Grasshopper, as shown in the attached example, or using Named Views that are generated in Rhino or baked from Grasshopper. Since view creation and management are now included in the native Grasshopper component sets, I have avoided trying to manage them through Drafthorse. DH_Details_ByRelativeView_Example.gh (48.1 KB)
@jokamm I am using Drafhorse version 1.1.21 and I have to situations that are not working correctly:
If I create Layout_1 (the only layout in the document) and I query that layout in order to create a detail on it, I get error that layout does not exist
If I create a few more pages, then “New Detail” component creates the detail on one of those pages but not on the “Layout_1”
Do you know why this is happening?
Second point is that “New Detail” component does not add a saved view to a detail object. It creates a detail on some layout, but the view that exist in the document and that I assign to a detail is not assigned in the Rhino file after detail is created