BillW Posted August 11, 2023 Share Posted August 11, 2023 Working with layer plane objects (ie 2D loci, rectangles etc) can be tricky to code. Find enclosed a code snippet for converting a 2D locus to a 3D symbol which may be useful. The code shows how transformation is done. 2D objects can be placed on a face by setting the working plane to the face (or use dynamic placement by typing backslash '\') and then placing the object. VW file is 2023. Code in text file. Note 3D loci are always aligned to the world axis. Also, layer base height would need to be taken account of currently. In this example layer base height is zero. 2D locus orientation.vwx 2D locus orientation.txt Quote Link to comment
Recommended Posts
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.