offset surface for parts too complex to shell

offset surface for parts too complex to shell

Anonymous
Not applicable
767 Views
2 Replies
Message 1 of 3

offset surface for parts too complex to shell

Anonymous
Not applicable

The problem:

a complex curvy part will shell 0.5 mm but not 3mm - some of the surfaces fall inside the others.

 

A work around :

Offset each surace (individually - not quilt) then stich & sculpt.

 

A program:

To offset an enclosed surface, individual face by face, internally.

 

Then manually stich to identify any errors & patch accordingly.

 

Could you point me to any code which might be close to the workflow, I'm looking for a project to attempt but don't want to take on the impossible!

Note these parts have 100's of faces so the code would be a help - not sure how to always offset the surface to the inside of the volume.

 

Rgds

 

MES

0 Likes
768 Views
2 Replies
Replies (2)
Message 2 of 3

philippe.leefsma
Alumni
Alumni

Hi,

 

We don't write code on demand, this is a particular request so I don't know any existing sample I can point you out, but I can indicate you the APIs I think might be helpful:

 

Take a look at the following in the API Help Files to see comments about what are the inputs:

 

- ThickenFeatures.Add

- KnitFeatures.Add

- SculptFeatures.Add

 

"not sure how to always offset the surface to the inside of the volume"

 

You could retrieve the direction of the normal at a specific position, by definition it will point always to the outside of the solid.A normal to a Face can be computed by "Face.Evaluator.GetNormal"

 

Regards,

Philippe.



Philippe Leefsma
Developer Technical Services
Autodesk Developer Network

0 Likes
Message 3 of 3

Anonymous
Not applicable

Thanks for the note - it would be nice for someone to write the code but my aspiration is to try myself & it's tough!

 

I've fumbled through the VBA & messed about with some of the examples, I ask myself if this project too ambitous or if it's even possible.

 

I will look at what you have suggested, thanks again.

 

MES

0 Likes