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.
Comments
https://cad.onshape.com/documents/d66ea5fec7a939e866ecbd6f/w/25d8c7ecb4fba2c4e6eb34a4/e/bbc5cf0f6b3fc16186444e0d
You selecting a set of features that fully defines your initial geometry, insert variable names that should be variated by FS and define a list of parameters of the same length for each variable. The feature generates instances with substituted variable values. Sadly you can't reference external geometry inside the sketches, as it always is with feature patterns.
https://cad.onshape.com/documents/cc448676dec18cad9d8b2b57/w/4754b19de100bd9be64caea2/e/aa109f7201b85bb04af1573c
https://cad.onshape.com/documents/2d81c59d7fc5df36ecbaecf3/w/a2de18e932e02a4bd51d3af3/e/0b2c3849b5900737fa810e87
This is awsome stuff. I'm just reading through the feature script code and it taught me a couple of things I didn't think were possible. The most amazing trick is to parameterize a sketch with variables and then use feature driven patterns and law curves to drive copies of this. I'm pretty sure many people will find novel uses for this code.
Wow!!
yes the ability to regenerate features with new parameters is a big thing (i also used this in Parameter pattern and Curve generator FS's), even if we need to define several variables first. From the other hand it greatly affects feature performance (OS servers are in danger now )
i = proj(p(t),axis) - proj(p(0),axis)
where
t is the sweep curve parameter
i is the generated independent variable used to drive the law curves.
the problem is that it a "universal tool" not only for the sweeps that may have some referrence axis, possibly there need a separate modification for particular kind of things like feed screws, but actually you can synchronize the feed of screw along the axis and the depth/width on the "sketch" stage of design when defining the laws of variables vs unwrapped helix line
For example the model you have used in your demo is based on the screw I described. It has a depth law curve but it is hard to visualize how it is related to the actual model. What engineers with a real drawing would normally do is the following
Where the orange curve is the law curve for depth with it's independent variable being the location of the sweep point along the cylinder axis. This becomes very easy to work with then as you can see how the depth curve relates directly to the model. In fact you could make break points on the depth curve parametric related to vertices or planes in the model.
Regards ( and again many thanks for the amazing prototype )
Brad
https://cad.onshape.com/documents/96a224a87a3a6725d2263efa/w/89a5acc5b21b6677669ea4ee/e/5b59b999cd77951b8e121e98
I could try to add some kind of control that would adjust the dependency of control variables from path length. To satisfy the requarement to use this FS with paths made by Sketch wrapper it should extract ordinate of the unwrapped sketch and transform it into length parameter array, that is used to generate control parameter array. But in all other cases it will be just a strange abstract dependency.
Here are some screenshots of each feature:
Fillet/Chamfer Everything:
Fillet/Chamfer Part:
and Fillet/Chamfer Xtended:
A link to version 5.2 is here.
These features use a function library that I have made, called "FeatureScript qExtract()", of which version 3.0 is accessible here.
IR for AS/NZS 1100
Here is a link to it:
https://cad.onshape.com/documents/7793b338094a4f1de2017739/v/6d718fca97dd3de1d7f1ea52
IR for AS/NZS 1100
This does not work with sketch constraints for some reason.
IR for AS/NZS 1100
EDIT: It worked!
I am trying to replicate what was done in solidworks here:
http://blogs.solidworks.com/tech/2018/01/winter-challenge-create-a-snowflake-using-all-of-the-solidworks-patterns.html
Here is my document:
https://cad.onshape.com/documents/4b1efa6bbe0eba0e4d567b91/
IR for AS/NZS 1100
The link should work now, I forgot to make it public
IR for AS/NZS 1100
I'm also contemplating whether i should have an image for each one-- what do you guys think? Lists are usually just lists, but for this particular problem i think images will be nice.
I'm planning to use good-ol github so that we can easily merge new submissions.
@konstantin_shiriazdanov you're such a prolific author, if you have a github account i'll happily add you as a collaborator so you can add your features...