I am playing around with trying to show a perforated pattern on a curved surface. I am wanting to generate 2d detail lines of this pattern from a section view.
I understand my curves exist in 3d and what i need to do is to project them on a 2d surface and then use these projected curves in my 2d view
I am wanting to know if a “work plane” can be extracted from a view. I thought I had found it with the “View Work Plane” component - which sounds exactly what i’m looking for - but it requires an input work plane
Well I did manage to solve my own question. For anyone who may be having this problem subsequently. I managed to access the geometry of view using the “Element Location” node.
This gave me access to the point of the view and a plane of the work plane (exactly what I was seeking)
By offsetting this in the (reversed) direction of the view work plane and by the view depth. I could create a surface to project the 3d curves onto parrallel to the view which has allowed me to create the desired 2d lines
You can convert a View to its plane just using a Plane parameter.
If you want to be able to use a View where your pattern has obscured-hidden lines, Make 2D could be useful.
Thanks for this - i was going to try to embellish this to remove the unwanted lines (I was thinking to either test for length of normals to remove lines perpendicular to view, but your Make2d would be a more elegant solution to achieve just that.
I am having trouble with the Make2d component. I am consistently getting an error with the view input (see below) - i was also hoping to right click to “extract parameter” to try to see what type of input it is expecting. It doesnt seem happy with a view, a plane, a surface …
In the definition which seems to be working in Kike’s example - and the view node is referencing a revit element - the same node is input into the Make2d and drw detail line component unless i’m missing something .
I don’t have the small “Query” bar beneath the Active view component - although is this a preferences/widget option?