Jump to content


- - - - -

Alternatives STL Trimesh Cutting Plane


  • Please log in to reply
3 replies to this topic

#1 Mr. Toni Klemm

Mr. Toni Klemm

    Member

  • Members
  • PipPip
  • 14 posts

Posted 10 March 2015 - 01:35 PM

Hello Everybody,

 

Some questions regarding STL postprocessing.

 

1. Is there a functionality available to cut a trimesh by something different than a plane, a surface of revolution for instance?

 

2. After cutting a closed trimesh the body is open. Is there a way to extract the open edges as points?

 

Toni


  • 0

#2 Karsten Wenzke

Karsten Wenzke

    Moderator

  • Moderators
  • 269 posts
  • LocationBerlin

Posted 10 March 2015 - 05:47 PM

Hey Toni,

 

1) There is no post processor to cut a trimesh with a surface at the moment.

 

2) It is possible and I have already a Feature Definition finished, but it is very slow...

Therefore I will ask some of my colleagues tomorrow.

 

Cheers,

 

Karsten


  • 0

Karsten Wenzke B.Eng.
Service and Support
Engineer
 

Contact me on Linkedin.

 

www.friendship-systems.com
TEL. +49 (0)331 967 66 0

 


#3 Mr. Toni Klemm

Mr. Toni Klemm

    Member

  • Members
  • PipPip
  • 14 posts

Posted 11 March 2015 - 03:54 PM

Hello Karsten,

 

thanks for your answer.

It's not urgent.

 

Toni


  • 0

#4 Karsten Wenzke

Karsten Wenzke

    Moderator

  • Moderators
  • 269 posts
  • LocationBerlin

Posted 11 March 2015 - 05:07 PM

Hey Toni,

 

I have created a feature which derives the points of an intersecting face of two solids.difference.png intersection.png

I tried to comment all steps of the feature.

The feature inputs are a difference and an intersection.

The outputs are

  • an objectlist which contains all points of the intersecting surface
  • an offset and a bsplinecurveedge.png

A small note: If the solids have a high number of points than it might take 30-60 sec until the feature is finished.

Therefore while testing the feature start with small solid with less than 200 points.

 

An idea for cutting your trimesh with the surface is:

  1. create a trimesh of your surface
  2. use the extrude to plane postprocessor
  3. create a new solid for the difference the source should be Surfacetrimesh - originalTrimesh and for the intersection a "*" between
  4. set the intersection and difference for the feature arguments
  5. see the result :-)

I've added an example how to intersect a Brep with a surface. Maybe it is worth a try to build your geometry with brep.brepIntersection.png

 

If you have any question I am happy to help you.

 

 

Cheers,

 

Karsten

Attached Files


  • 0

Karsten Wenzke B.Eng.
Service and Support
Engineer
 

Contact me on Linkedin.

 

www.friendship-systems.com
TEL. +49 (0)331 967 66 0