Aller au contenu principal

How to orient object to grid


12 commentaires

  • Jacant

    Use the 'Move' tool with the 'Orient to Object' option

    Align the arrow with the solid. then pick the vertical axis then the 'Z' axis on the World origin.

  • Tim Heeney

    Hi Robert.

    ' but the object is attached to the gird somehow'

    Yes at object creation, it's 'default axes' are set for life...

    but all isn't lost - Activate the owning component and insert an ORIGIN where you want the grid to be set you mouse over the geometry ( with origin xyz axes attached) auto snapping might not be right. place position and move the origin azes to suit using move tool.

    'K' for sketch and select the origin on screen or, ( and this is faster ), in structure browser, lmb 'origin', then 'k' and bingo,there it is positioned and aligned.

    You can have numerous 'origin's, renaming is possible for identifying...

    Auto position using sketch / section alway places xy at center of area which often isn't desirable...ctr of circles , edge ends might can be useful but this way is definite and fast. Unfortunately being a dynamic modeller, if features/ faces /edges are moved the origin must also be moved - they do not move automatically...of course, you may not want the 'origin' to move !


  • Robert Loper

    The "root cause" of the whole problem is a combination of how DSM works, and how I drew my object.  i.e. my own fault.

    When a sketch is converted into a 3D object in DSM  "at creation, it's 'default axis' are set for life..."

    Using Sweep with a non-vertical or horizonatl line will caused the resulting object to be skewed when viewed in plane view.  Once the skew is set, there is no way to fix it.  The bad news is there is no way to prevent the skew.

    However, there is a way to mitigate the problem "sort of". 

    I redrew this object MANY times using various methods but found the SWEEP method always resulted in a skewed object.

    I discovered that if I drew a small reference object first and converted it to 3D, that reference object would "set" the origin plane so that I could always get back to a properly oriented view.  T



  • Tim Heeney



    That's very worthwhile knowing, well done for sussing it out. I'll take a look.


    Can you post up an image please - ok, i see what you mean now...hmm - thinking...

    it's only the non vertical/horizontal surfaces that are produced and not the complete object ( part).If this happens, faces can be corrected i've now discovered.

    Also, there are other commands which may avoid sweeping and thus the problem altogether...

    See below.

  • Robert Loper

    Posting to the forum is somewhat problematic.  I can't figure out what button I hit that caused my previous message to be sent INCOMPLETE.  I kept typing and clicked submit and apparently my message just went away.

    The "solution" that I hit upon was to FIRST draw a little cube and extrude it to 3D before extruding the lines that draw the hollow Y.  I will attach some images of that process. 

    The lines and box before extruding.

    The line unextruded with the box extruded into a cube.
    When I click on the face of the cube and switch to plane view, the grid is oriented correctly.
    This view was a bit tricky to achieve.  I had to spin the object in 3D space so the end of the line could have a plane attached to it.  Then switch to sketch mode in plane view.

    this had to be rotated slightly to get the end of the line away from all the background noise.
    Once the box at the end of the line was pulled using SWEEP from one end to the other, I had my base object.  Note the orientation is weird.


  • Robert Loper

    At this point, I can pull the far side of the object out to make the full size clamp.

    Home View of the object at this point.
    it is easy to extrude the front or rear edge to make the longer version of the clamp.

    Home view after extruding.
    Plane view in 3D mode and plane view in sketch mode.
    the problem is the object is skewed to the plane.  I can use move and orient etc. the change the object in 3D space, I could not find a way to change the orientation of the object so it was "square" or "line up with the lines in the grid"

    HOWEVER, by first drawing the little CUBE before extruding the lines, it is now possible to unhide the little cube.

    Now select it in 3D mode and viola, the object is oriented correctly.
    Changing to sketch mode from this position also results in the grid being aligned correctly.

    It should be noted, that switching back to 3D mode and clicking any on of the legs of the hollow Y then plane view will result in the same skew object as before.

    With a skewed grid behind it in sketch mode.

    Instead, click on the face of the little cube which was extruded first, and the view and the grid will be correct.

    Before EXPORTING this object to an .stl file, I hide all the various objects (the little cube), the various planes, and all the contruction lines so I have nothing extra that might get in the way of a successful 3D print.

    Believe it or not, drawing that little cube and extruding it first, solved all my issues.  Sweeping the lines and extruding them first resulted in a very messed up orientation that I was never able to fix.

    I WILL remember this.  In future work, I will very likely add the small cube or something that is square to the world before using the sweep tool to draw weird objects.



  • Jacant

    I may have missed something here. Why are you using the 'Sweep' tool?

    Why don't you just 'Offset' the lines and finish the ends in 2D then 'Pull' the resultant surface. 

    Posting to the forum is somewhat problematic.  I can't figure out what button I hit that caused my previous message to be sent INCOMPLETE. 

    You can always go back and edit any post. Pick the icon that looks like a gear.

  • Robert Loper

    I am relatively new to DSM.  I have been watching tutorials and practicing for about 6 weeks now.  Working at it usually 8 to 10 hours per day.  (I admit, i am somewhat compulsive, when it comes to learning something new).

    I had experimented with offset just a bit early on, and was having trouble getting offset to work around the entire group of lines.  Lately I have learned how to select all the lines.  I finally figured that part out.

    So you are correct when asking WHY?   The Offset method is quite a bit easier.

    Anyway, long story short...  I just redrew the object using OFFSET to add a second line at 2mm distance. 

    Easy, Peasy. 

    I then added two lines to enclose connect the two offset lines. 


    The resulting 3D object still comes out skewed against the plane view grid, although it is now skewed at a different angle.
    At this point I have no clue how DSM comes up with the angle???

    When using Sweep, it appears that DSM attaches the final sweep to a vertical axis.
    When using Offset, it appears DSM attaches the final offset to a horizontal line.

    However, if I draw the small cube and extrude it to 3D BEFORE I do the offset lines, it works just fine.

    GO FIGURE!!!

  • Tim Heeney


    I've just drawn your shape - i don't get a twisted grid... i did an offset 1mm



    Now a 2mm offset as your last part.

    Sorry, i can't replicate the twisted plane ... i've tried 3 times now.

  • Jacant

    As Tim said, I can't replicate the twisted plane either.

    I would strongly recommend following the 'First steps to Direct Modeling' on this link after you have watched the Video Tutorials. 

  • Robert Loper

    Jacant, I am always willing to look at tutorials, videos, or whatever.  Sometimes, I repeat the same tutorials multiple times, mostly to make sure I didn't miss something.

    I had already been through the series in your link.  Anyway, I just went through the zendesk tutorials over again, VERY CAREFULLY, to make certain I had not missed something my first time through.  I did pick up one tidbit that I had missed.  the bit about turning off faces to select all the edges.

    Thanks for your help.

    I am now doing a series of in depth experiments with all the various tools in DSM to learn as much as possible.

    I will likely be posting questions if and when I run across something I can't figure out.




  • Robert Loper

    Does anyone have a clue why the TOPIC drop down on New Posts no longer works?

    Without a TOPIC, new posts are not accepted.

    I have tried to submit new posts to the forum and a support ticket with DSM.

    Both areas have the same problem.  No TOPIC = NO submission.

    It won't let me type in a topic either.


Vous devez vous connecter pour laisser un commentaire.