<p>Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.</p></p><strong>First time visiting? Here are some places to start:</strong></p><ol style="list-style:inherit;margin-left:25px;"><li>Looking for a certain topic? Check out the <a href="https://forum.onshape.com/categories">categories filter</a> or use Search (upper right).</li><li>Need support? <a href="https://forum.onshape.com/post/question/community-support">Ask a question</a> to our <a href="https://forum.onshape.com/categories/community-support">Community Support</a> category.</li><li>Please submit support tickets for bugs but you can request improvements in the <a href="https://forum.onshape.com/categories/product-feedback">Product Feedback category</a>.</li><li>Be respectful, on topic and if you see a problem, Flag it.</li></ol><p>If you would like to contact our Community Manager personally, feel free to <a href="https://forum.onshape.com/profile/6/LouGallo">send a private message</a> or <a href="mailto:lgallo@onshape.com">an email</a>.
</p>

Query vertices of mixed part?

MichaelPascoe
MichaelPascoe Member Posts: 2,948 PRO
I would like to take advantage of the new mixed modeling. I'm starting with an STL body as the main input, but I can't seem to query any of the vertices. Is there a way to query the vertices of a mixed part? 

RENDERCAD - Photorealistic product rendering.
CADSharp - Professional CAD + software consulting.

▚▞▚▞▚▞▚▞▚

Best Answer

  • NeilCooke
    NeilCooke Moderator, Onshape Employees Posts: 6,116 image
    Answer ✓
    You can only query vertices that have been selected by the user - you can't get the vertices of a mesh body programatically.
    Senior Director, Technical Services, EMEA

Answers

  • mlaflecheCAD
    mlaflecheCAD Member, Onshape Employees, Developers Posts: 212 image
    edited April 2022
    I hit this sometimes too @MichaelPascoe. It could be that the model was imported with the wrong unit system and comes in tiny.  Try reimporting and checking the units out.
    Regards,
    Mike LaFleche   @mlaflecheCAD
  • mlaflecheCAD
    mlaflecheCAD Member, Onshape Employees, Developers Posts: 212 image
    Scratch that @MichaelPascoe , I am in the wrong forum for that answer...
    Regards,
    Mike LaFleche   @mlaflecheCAD
  • MichaelPascoe
    MichaelPascoe Member Posts: 2,948 PRO
    No worries @mlaflecheCAD

    RENDERCAD - Photorealistic product rendering.
    CADSharp - Professional CAD + software consulting.

    ▚▞▚▞▚▞▚▞▚
  • NeilCooke
    NeilCooke Moderator, Onshape Employees Posts: 6,116 image
    Answer ✓
    You can only query vertices that have been selected by the user - you can't get the vertices of a mesh body programatically.
    Senior Director, Technical Services, EMEA
  • MichaelPascoe
    MichaelPascoe Member Posts: 2,948 PRO
    edited April 2022
    Thanks @NeilCooke!   :disappointed:

    Perhaps in the future?  :smiley:

    RENDERCAD - Photorealistic product rendering.
    CADSharp - Professional CAD + software consulting.

    ▚▞▚▞▚▞▚▞▚