Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.

First time visiting? Here are some places to start:

  1. Looking for a certain topic? Check out the categories filter or use Search (upper right).
  2. Need support? Ask a question to our Community Support category.
  3. Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
  4. 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

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

Answers

  • Jake_RosenfeldJake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,252
    edited June 2018
    @papawo

    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.
    Jake Rosenfeld - Modeling Team
  • MBartlett21MBartlett21 Member Posts: 1,498 EDU
    @papawo
    Try using fCuboid, then using opTransform with fromWorld or toWorld
    MB - I make FeatureScripts: view FS (My FS's have "Official" beside them)
Sign In or Register to comment.