Page 1 of 1

How to UnBend a sheetmetal part & extract Bendline Info?

Posted: Thu Oct 08, 2015 11:56 am
by nikhilruikar
I am a beginner. I am using TopSolid 7.9.
I have a sheetmetal part that has a bend along a Line.

My aim is to Unbend that part & extract the BendLine information like startPoint, endPoint etc.
I have tried searching the API help, but couldn't find anything.

(Technology: .Net C#)

Can I get some guidance on how to do this? Any help/links/code will be highly appreciated.

-
Nikhil

Re: How to UnBend a sheetmetal part & extract Bendline Info?

Posted: Fri Oct 09, 2015 8:01 pm
by gmanucci
hello!

i've been looking on the API and i haven't found something about it...

i can get an element, but not an "element of element"

this arc is inside the element of sketh or bend operation...

Re: How to UnBend a sheetmetal part & extract Bendline Info?

Posted: Mon Oct 12, 2015 11:50 am
by nikhilruikar
Hi,

Thanks for looking into it.
I can get the bend operation from the part but can't get the sketch along which it was bent.

How can I proceed further?

Re: How to UnBend a sheetmetal part & extract Bendline Info?

Posted: Wed Oct 14, 2015 10:34 am
by Mark Oostveen
Hi,

I don't realy understand what you want to do. Can you explain. Why do you want to extract the bending information and why do you need the line?

In most cases I try to not directly startup C# but first define the speps I need manualy to get what I want. If I can see the data somewhere else other than in the operation it is possible there is some kind of way to get it. I try to make several manual solution so if one of them has a dead end I can try antother. The advantage is that sometimes I can only automate a part of the steps, but that could also be a gain.
last but not least. Why do I want to automate? How many time will it take to do it manually and how often do I have to do it? Is it worth automating. In a lot of cases I don't want to do something manualy because I have like one time a lot, and than sometimes some new ones. Realisicly I can better start just do the lot because investigating automation takes more time (athough it is more fun :) )

Regards

mark

Re: How to UnBend a sheetmetal part & extract Bendline Info?

Posted: Wed Oct 14, 2015 6:00 pm
by Mark Oostveen
I saw you post in introduction and now understand a bit better you question.

Just a wild guess of what could be possible. Don't have a TopSolid in front of me right now...

Get the shape, get the faces. Check face types and search cilinders. It might be possible to get the data of the cilinder? Is that data enough or do you need more?

Mark