Jump to content

Mirror on Axis Node?

Dishav Vasudev

Recommended Posts

Hello all,

I'm a 2D Vectorworks user who is new to scripting/marionette and I am in the process of creating a 2D Door plan plug-in object type. The problem I am having is I don't know how to else to mirror an object from the center axis of an another object.


The door image shows the red fill elements that I want to create (using mirror node) on the red line axis. I have got loci's of both center point and tried various ways to mirror it on the X & Y axis of those loci. 


I have been able to do this when I add a second point into the axis (i.e if point 1 is on (100, 50), the second point would be (100, 0) creating a line in y axis) however, if I change the door size in OIP, then it doesn't mirror how I want it to.



I've attached my method of marionette nodes, again this is my first attempt at this so any feedback in my working method would be very much appreciated. Am i doing something wrong in the script or is there another method?


(The reason for my own door even though VW has its own, is simply because of appearance and ease of use compared to the IFC door plug in.)

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.

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...