Files posted by Niels Timmer
Although this Marionette Object is very project-specific, I thought it would be nice to share it because this is our first built example of a facade where we used Marionette Objects to model its key features.
In short this Marionette Object generates the shape of the balcony in plan based on parameters set by the user. Then it takes a 2D symbol and uses Extrude along Path to extrude the symbol along the curved side of the balcony.
Here are some forum threads where you can see me struggling with my first marionette networks for this project:
https://forum.vectorworks.net/index.php?/topic/62987-create-objects-from-shapes-in-marionette/ https://forum.vectorworks.net/index.php?/topic/63526-extrude-along-multiple-paths-and-use-control-geometry/ https://forum.vectorworks.net/index.php?/topic/64193-extrude-along-path-control/
Special thanks to @Marissa Farrell and @DomC for their help.
I hope this example from Marionette to built reality inspires others!
This node calculates where a line (not a line segment!) and a plane intersect.
Input / output
The plane is defined by its normal vector and a point on the plane. The line is defined by two points. The output point is where the line and plane intersect.
The example in the file combines the node with the Get Distance node to check if a three dimensional line intersects with a NURBS surface. This network can be used to create several simulations that can answer questions like: Do sunrays reach a balcony? Is the church tower visible from a window? Etc.
Script is based on: https://rosettacode.org/wiki/Find_the_intersection_of_a_line_with_a_plane#Python
The node uses numpy. Thanks to DomC for creating a numpy importer node.