Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
Fcuboid Plane
papawo
Member, Developers Posts: 206 PRO
How can I make the FCuboid follow my selected plane?
Ive seen that its fixed to do it in XY plane.
Ive change my definition of XY plane and it shows in my debug,
but still cuboid doesnt follow.
Ive seen that its fixed to do it in XY plane.
Ive change my definition of XY plane and it shows in my debug,
but still cuboid doesnt follow.
0
Answers
fCuboid is a pretty simple function, it can only create axis-aligned cuboids. If you want, you could copy the function and make it take a plane as a parameter, and then use that plane instead of XY_PLANE in its newSketchOnPlane call. I think that simple change would be all thats needed to draw non-axis-aligned cubes.
Try using fCuboid, then using opTransform with fromWorld or toWorld
IR for AS/NZS 1100