How to rotate the sketch coordinate system of a part that was generated by in-context editing
john_P37
Member Posts: 27 PRO
I have a simple rectangular plate. It was generated for the first time by in-context editing of an assembly. That assembly had some items angled at 45 degrees, and somehow this plate picked up that coordinate system. So if I draw a new square in a sketch for this part, it is oriented at 45 degrees to how I want it. It is possible to change the base coordinate systems so that subsequent sketches are along x', y', z', not x,y,z? I tried Transform, and this sort of works: it only transforms the part, so new sketches are in the correct orientation. Unfortunately, old sketches are left unrotated, and hence not useful for reference.
thanks, John
thanks, John
0
Best Answer
-
@john_P37 - the first option should be to create a mate connector on the angled face in the assembly before creating a part in-context (rather than using the assembly origin), then the new part will then be in the correct orientation in the part studio. The second option would be to create a construction sketch on the face of the plate, then create a plane through that sketch so that the plane orientation is correct. Hope that makes sense.
Third option is to create a mate connector on the face in the correct orientation, then use this custom feature from our very own @Jake_Rosenfeld
to create a plane through it. Then sketch on that.Senior Director, Technical Services, EMEA6
Answers
-
Perhaps rotate the part first and then make the sketches?
As always, a link to a document gets you the fix
Philip Thomas - Onshape0 -
@john_P37 - the first option should be to create a mate connector on the angled face in the assembly before creating a part in-context (rather than using the assembly origin), then the new part will then be in the correct orientation in the part studio. The second option would be to create a construction sketch on the face of the plate, then create a plane through that sketch so that the plane orientation is correct. Hope that makes sense.
Third option is to create a mate connector on the face in the correct orientation, then use this custom feature from our very own @Jake_Rosenfeld
to create a plane through it. Then sketch on that.Senior Director, Technical Services, EMEA6 -
I'm not sure I understand the second option, I'll give that a try. The third option sounds really good - But the custom feature attaches the sketch plane to the mate (it appears) regardless of the Z clocking of the mate. If I clock the mate by, say, 30 degrees about the z axis, use the custom feature to deposit a plane, and add a sketch to that new plane, then geometry on the new sketch plane is created as if its local coordinate system was aligned to the case of the Z clocking = 0 degrees. I'd consider that slightly unexpected behavior.
Here was my trial:
https://cad.onshape.com/documents/d02ba027632901ed5aaff6ef/w/04905dfb7cbb3d58f4afe89f/e/4d90f69d752ec97fe4f9600c
Best regards,
John0 -
@john_P37 - I stand corrected, apologies for misleading. Seems there is no way to control the x-Axis of a plane even when trying to deconstruct it as much as possible using FeatureScript. Can you create an improvement request for plane through mate connector (including mate connector orientation) using Help > Feedback in Onshape? Thank you.Senior Director, Technical Services, EMEA0
-
NeilCooke said:Seems there is no way to control the x-Axis of a plane even when trying to deconstruct it as much as possible using FeatureScript. Can you create an improvement request for plane through mate connector (including mate connector orientation) using Help > Feedback in Onshape? Thank you.would be better to be able to directly use mate connector (as alternative to planar face) as reference in the sketch feature, so we could have sketches with user-defined axes orientation. I even had an IR for this which for some reason was mooved.
1 -
Agreed - sketch and plane defined by mate connector!!!!!

(i will see what i can do
)
Philip Thomas - Onshape1 -
philip_thomas said:Agreed - sketch and plane defined by mate connector!!!!!

(i will see what i can do
)If it's of a similar ilk...Whilst you're at it can we have the Z-axis of a mate connector valid as the input axis for a "transform rotate"?Cheers,Owen S.Business Systems and Configuration Controller
HWM-Water Ltd0 -
I like it!

Yes!Philip Thomas - Onshape1 -
Steady on, young man. Do you have an IR for that?Whilst you're at it can we have the Z-axis of a mate connector valid as the input axis for a "transform rotate"?Senior Director, Technical Services, EMEA0 -
Senior Director, Technical Services, EMEA1
-
Whilst you're at it can we have the Z-axis of a mate connector valid as the input axis for a "transform rotate"?
No need for an IR for this one -- it's actually already being worked on.
Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc1 -
NeilCooke said:



We still get a T-Shirt when we hit 1500, yes?@ilya@ilya_baran I'm rapidly coming to the conclusion that if an idea is any good the chances are that the people who do it for a living and who invented it in the first place just may have already thought of it. The IR system is just to make us users us feel like we're contributing something
Cheers all,Owen S.Business Systems and Configuration Controller
HWM-Water Ltd0 -
@owen_sparks
I know you're kidding, but I'll respond seriously regardless -- please don't filter suggestions assuming someone else may have already thought of it! That's how great ideas get lost.Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc2 -
See yesterday's improvements on this: https://forum.onshape.com/discussion/9963/improvements-to-onshape-august-20th-2018Ilya Baran \ VP, Architecture and FeatureScript \ Onshape Inc1
-
Ilya beat me to it.
Yes - as of the PREVIOUS release, you can use the z axis of a mate connector as the axis for any pattern/transform.
WIth THIS release, you can now define the xy coordinate system of a sketch by using the mate connector to define the sketch.
One Connector to rule them all!!!

Philip Thomas - Onshape2 -
And yes - please keep voting for IR's - that's how we know what to work on next!
Philip Thomas - Onshape0 -
I'm loving the "Connector" philosophy being added to functionality and enhancing existing workflows; a lot - it just makes sense.philip_thomas said:Ilya beat me to it.
Yes - as of the PREVIOUS release, you can use the z axis of a mate connector as the axis for any pattern/transform.
WIth THIS release, you can now define the xy coordinate system of a sketch by using the mate connect to define the sketch.
One Connector to rule them all!!!

Hopefully in due time...
https://forum.onshape.com/discussion/9943/part-studio-the-ability-to-transform-move-parts-by-inferred-mate-connector#latest
https://forum.onshape.com/discussion/9936/sketching-make-the-centroid-inference-snapping-relations-easier-discoverable-i-e-mate-connector#latest
0 -
@Don_Van_Zile - OOOO, i really like the 'transform by inferred mate connector' and may have thrown a vote in for myself
Philip Thomas - Onshape2 -
In my opinion these are the type of improvements that take an already great product and make it a pleasure to use. A heartfelt thanks from over here.
Ogden S. (Damn predictive text, but I like that one so I'm leaving it.)Business Systems and Configuration Controller
HWM-Water Ltd0






