-
Transform Help Request
Hi folks. Another newbie FS request. Please can I have some help with a transform? I'll admit I'm finding the "help" hard to deal with. It's a bit like Microsoft's help in that you need to be proficient in the subject to understand the help in which case you wouldn't be reading it in the first place... Actually that's a…
-
Points of reference on a mesh (or part) not moving when using Transform
I've been using imported meshes for reference but this seems to also happen when using regular sketching/drawing/parts/etc. When using Transform on a Part, none of the previous points used as a reference move with the transform. Even when moving the transform in the timeline/rollback/feature area. I made a sample document:…
-
Making queries and choosing parts
Hello, it's the third day I'm trying to figure it out but can't find a way. There are 2 "HOW TO" in the linked code I need help with: https://cad.onshape.com/documents/ea8f7cb66c45333ca1b9ef34/w/9adca070203387c455da1627/e/4b4132af1e1d18d47336a16e Can you help me with the two tasks: 1. The main thing to input is a mate…
-
Pattern point to point help?
I'm trying to transform copy a selected face from one point, to another so that I can use it in multiple places. I keep getting stuck on opPattern or transform. Can someone help me understand how to do this? Here is what I have so far. The opPattern is where it breaks. var count = -1; for (var edges in pathFaces)
{ count =…
-
Moving sketches within the same plane
Hi there, I have created a few parts, and I'd like to create a part to host them all. I thought of creating a new Part Studio, then copy and paste the different sketches so that I can arrange them accordingly.I found quite a few links on this forum, some documentation, even videos that explain how to move sketches in a…
-
Transforming Mates around arbitrary points in assembly.
We have been playing with making api calls to onshape assembly (occurrence transforms) and had a bit of a success in transforming parts around origin. In our use case we have multiple Revolute Mates that we want to turn to specific angles through api calls. We can do it through occurrence transforms but the parts have to…
-
Need coordinate system (xAxis, zAxis) help for a transform
I'm trying to learn some Featurescript but am having trouble getting the xAxis and zAxis vectors for a transform. My Featurescript UI has the user select a start point (vertex), and a direction. From that I'm trying to move the orange strip (that was created by FS and is located at the origin) to the user selected point,…
-
Help rotating text in FeatureScript
Perhaps I'm on the wrong path, or not... Ive created a featurescript to make an array of holes. I want to add labels (text) to the holes but I cant seem to figure the best way to rotate the text so it is aligned to the holes. The following FS is my work in progress:…
-
Flip Normal in Transform Using Mate Connector?
Hi folks. I'm after some help with flipping a normal in a transform. I'm using either a sketch point or a MC as an input, and then the UIHint.OPPOSITE_DIRECTION driving definition.isFlipped For the sketch point we have this code working just fine (thanks previous helpers):- Now I'd like to do the same thing for the MC…
-
Editing a part after it's been scaled-up
Hi all, I need to edit a part after transformation and I have no idea how to go about doing it. I enlarged a part using the scale function in the transform menu. It was my hope that by scaling/enlarging the part, the sketches will update to show the parameters of the new enlarged part. This however didn't happen. Instead,…
-
How best to replicate and re-position a rod shape many times where faces meet?
I'm going to teach a lesson showing how to create molds for casting objects too large to 3D print as a single part. The design for the part we're going to cast is here. As I write, the next step in preparing this object for printing, mold making, and eventually casting is to introduce 50mm long holes along the adjoining…
-
Transforming derived sketches
I'd like to align an derived sketch to the part in a PS. Is there a way to do it? It can be done easily with derived parts but not sketches.
-
transform derived parts based on part's edges in this part studio??
I probably just don't understand how to use transform by line but I haven't been able to figure this out: I generate shapes for boolean cutouts and extrude them in a second part studio then add them as derived. But now, I want to line them up a certain distance from my part's edge. It seems simple but Distance parameters…
-
Proportionally Resize a Spline
I freehand drew my initials with the spline tool. I like the proportions and shape of the letters and the dimensions are ~32x45mm. This is too big for what I'm making, but I'm struggling resizing the splines without destroying the geometry/shape of the letters. I was hoping the bounding box would help, but to no avail. Any…
-
how to evaluate extrude direction so it can be used in a transform
Hi folks. Hopefully an easy one this time. I'm creating a body using an extrude from a sketch. Having made it I may wish to transform it in the direction of the previous extrude operation. I can use the qCreatedBy query to grab the body for the entity parameter but am having difficulty evaluating the extrude direction for…