Jump to content
Developer Wiki and Function Reference Links ×

Rotating 2D Line Vertically for Mirror Ball Marionette


Recommended Posts

Hi All,

 

Hoping to get some help putting together a marionette system for an adjustable mirror ball with rigging. My current set up is symbols for the mirror balls of varying sizes, a symbol for the rotator, and a stinger group made up of 2 extruded objects and a 2D line rotated vertically. This allows me to adjust the 2D line easily to adjust the height of the mirror ball (or anything else hung by a stinger). I'm automating this process into a marionette sequence to allow me to select the mirror ball size and adjust the stinger in 6" increments. 

 

The main issue I'm having is I can't seem to find a way to create or rotate a 2D line so that it is aligned to the Z-Axis. Rotate 3D doesn't work, and the create line command doesn't take 3D points. Is there any way to set this up in marionettes without converting the cable part of the stinger to a 3D extrude or polygon? Current marionette sequence is below:

 

image.thumb.png.53822356aca106b19007c6b239040a7b.png

 

 

 image.png.b61ae1b49bc521bfabcc2cd41388bb89.png

Link to comment

@Alex Talbot,

   I think @Marissa Farrell's way is the way to go, but if you want to see how to draw a 2D Line on a vertical plane (YZ plane in this case), I cobbled together a few Marionette nodes to draw a Planar 2D Line that runs from the Origin (0, 0, 0) down along the Z_axis. This is not guaranteed to be the smallest node, but it works. Suggestions for improvement are welcome.

 

    You can change the Line's length by editing the Y_value of the 2D point (pEnd) on the Create Line node. You can also change the Start Point by adding a 3D Point to the vOffset input of the Set Entity Matrix node and giving it any 3D XYZ value.

 

   NOTE: All unassigned input nodes use the value (0, 0) or (0, 0, 0). The attached VW file is v2018, so more people can read it.

 

1155904616_2DLineon3DPlane.png.be49ea6fed5f90a73fe447e0c7d4d394.png

 

Vectorworks file:  2D Line on 3D Plane v2018.vwx

 

Raymond

Link to comment

Follow up. I just figured out you don't need the Layer Plane node if you don't use Enable Legacy 2D features (starting VW 2022), or you use Working plane only. If you mix Screen and Working Plane objects in the most recent VW versions, then the Layer Plane node makes sure the line draws on the Layer Plane. If there's an easier way to force Layer Plane drawing, please let me know.

 

Raymond

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...