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.
New Features: Primitives!
I recently felt motivated to pick Featurescript back up after a little hiatus, so I came up with a project. I often wanna just throw some shapes out there for a demo or test, and I don’t like having to make a sketch and extrude or revolve it, so I made features for Cubes (and cuboids), Cones (and cylinders), and Spheres (and ellipsoids). As per usual, I went ahead and got carried away, so you can pick as many centers as you want to make a lot of them at once, and you can boolean them with other things, which has actually been more useful than I thought. check ’em out:
https://cad.onshape.com/documents/a81f647d405a78c5b70bdbde/v/e3e1283a3840df1bd2c906c5/e/2296a8096d894399aaf299e0
Oh, and hats off to @Alex_Kempen for showing me some more efficient ways to write some parts of these. Thanks, Alex.
Happy Friday, everyone!
https://cad.onshape.com/documents/a81f647d405a78c5b70bdbde/v/e3e1283a3840df1bd2c906c5/e/2296a8096d894399aaf299e0
Oh, and hats off to @Alex_Kempen for showing me some more efficient ways to write some parts of these. Thanks, Alex.
Happy Friday, everyone!
Evan Reese
3
Comments
"It's Frieeday"
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
I like your implementation. Thanks for sharing. I agree that there will likely be some duplicate names, especially as time goes on. I'm not sure of a good way to handle it.
- I've added another feature called Prism, which works like the cone/cylinder but with polygons instead of circles.
- I've made it possible to link the length and diameter vales on Cone and Prism to make it easier to get symmetrical outputs
https://cad.onshape.com/documents/a81f647d405a78c5b70bdbde/v/e3e1283a3840df1bd2c906c5/e/2296a8096d894399aaf299e0chadstoltzfus@premiercb.com
Learn more about the Gospel of Christ ( Here )
CADSharp - We make custom features and integrated Onshape apps! cadsharp.com/featurescripts 💎
Feel free to borrow as much of the Primitives code as you want to make the Shapes feature if you feel like it.
最初に1つのソリッドを作成してから、他の位置にコピーするのは簡単な方法です。
別々の位置に複数のプリズムを配置した後、プリズムから他の形状(八面体など)に入れ替えたいとしたらどうしますか?
座標系を使用して既存のソリッドの境界ボックスを作成する場合、私の新しいFS機能は使いやすいと思います。
Many input fields of a multifunctional feature may be confused by a user.
It is easy way that at first making one solid then copy it to other positions.
After placing prisms in each position, if you want to exchange from prisms to other shape(ex. octahedrons), how to do?
I think when making a box bounding of existing solids with a coordinate system, my new FS-feature is friendly.