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.
Sketch Grid Custom Feature
Caden_Armstrong
Member Posts: 168 PRO
Sketch Grid
This custom feature generates a grid of sketch points, solving the challenge of drawing sketches on a grid, and snapping points to even intervals.
The sketch points are generated inside out to prevent references from breaking when the sketch grid size is increased.
The feature is parametric, adjustable, and configurable. Quickly scale your sketch by changing the size of the sketch grid.
Get it for free on fs.place or link the public document
www.smartbenchsoftware.com --- fs.place --- Renaissance
Custom FeatureScript and Onshape Integrated Applications
Custom FeatureScript and Onshape Integrated Applications
3
Comments
One thing worth paying attention to when making features like this is reasonable limits. Right now the COUNT_BOUNDS allow for 100,000 points on each side of the grid, which is way too high and can easily cause performance problems (even if the feature regenerates quickly, having too many entities can cause downstream issues). I would strongly recommend adjusting to a max of 100 points on each side — that should be enough for nearly all use cases and not cause problems.
@ilya_baran
Good call. Thanks Ilya.
Custom FeatureScript and Onshape Integrated Applications