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.
Sensor Custom Feature
TimRice Member, Moderator, Onshape Employees Posts: 315
edited April 2020 in FeatureScript
Often in the design process there may be specific geometric constraints on the parts that need to be considered along the way. I created this Sensor custom feature to measure certain geometry and compare it to a specified value and warn if it is out of spec. Currently only edge length and fillet radius are supported but I am looking for more ideas!
Add it to your toolbar:
Add it to your toolbar:
Tim Rice | User Experience | Support
(and I know there are folks out there wondering if this could be the start of a "wall thickness" sensor too)
There isn't really a great way to implement a wall thickness algorithm in FeatureScript that could be trusted for production use. It is something we would like to come up with a more reliable solution for internally.
Check it out: https://cad.onshape.com/documents/9497bc5595799f48dc143063/v/eee7df29797bda73d8b692a0/e/b0ba07534e569d763885e5c2
Added Volume as a sensor type! With units control.
Check it out: https://cad.onshape.com/documents/9497bc5595799f48dc143063/v/65e7e99cfb1b426abf8cfc33/e/b0ba07534e569d763885e5c2
I mostly deal with volumes in the 50cc - 5L range - do you think you could use cm^3 as a unit too? mm^3 are too small, and m^3 are too big!
Added Liters and CM^3! Simply update your referenced feature to the latest version.
That's fantastic. Works perfectly.
Do you think you could add other units to your Measure Value FS (https://cad.onshape.com/documents/77baa8153589a7fc5f289829/v/ceb4a03e4ac77173bf6d0074/e/181cb871f3008e6b885df46a) ?
I'd love to be able to have my Document in mm, but my Volumes I get from Measure Value displayed in cm^3 or liters.
I can understand there may be issues downstream when I use that Measure Value as a #variable....
I also didn't get this notification.
OK - I'll use the #V method you suggest (I already use this for some other unit conversion in the Feature List
Using the sensor again to find fillets that are smaller than my injection mold supplier's smallest ball end mill. However, when I use the Sensor to find all fillets that are smaller than 0.28mm (for instance) it finds all the fillets that are smaller - which is great.
But I don't need to fix all of them: I only care about fixing the ones that are OUTSIDE corners (on my part) - since the inside corners are outside corners in the tooling, and therefore are not created by this ball end mill.
Can you add a check box or something that would filter out or let pass any fillets that are "outside" vs " inside" ? (concave / convex?). Not sure if this is possible, but it would be very helpful.
In V1.3.1 I added a filter for concave/convex under the fillet sensor type:
Thank you for the improvement ideas!
Could you add an Outside Corners filter as well?
Add to your toolbar: https://cad.onshape.com/documents/9497bc5595799f48dc143063/v/2b83bf520e85295e177f0445/e/b0ba07534e569d763885e5c2
Feature request of mine would be to be able to compare multiple for example distances against the set value. This would allow to group certain distances into groups.
Learn more about the Gospel of Christ (Click here)
The company i work for are injection moulders and one of our common checks is to check the wall thickness prior to tool build. At present we have to use an external package like moldflow or Altair.
I would just like to say a big thankyou to all of the feature scripts you have created.
I've made really good use out of most of them. (if that makes sense).