How to UnBend a sheetmetal part & extract Bendline Info?

All topics about specific development with COM interface, LIP language, API in VB, ...

Moderators: remi77, jacs, Daniel

nikhilruikar
Private First Class
Private First Class
Posts: 18
Joined: Tue Sep 08, 2015 11:04 am
TopSolid Module: TopSolid'Design
TopSolid Version: 6.25

How to UnBend a sheetmetal part & extract Bendline Info?

Unread post 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
gmanucci
Master Corporal
Master Corporal
Posts: 49
Joined: Tue Sep 29, 2015 2:48 pm
TopSolid Module: TopSolid'Cam
TopSolid Version: 6.26

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

Unread post 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...
nikhilruikar
Private First Class
Private First Class
Posts: 18
Joined: Tue Sep 08, 2015 11:04 am
TopSolid Module: TopSolid'Design
TopSolid Version: 6.25

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

Unread post 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?
Mark Oostveen
Chief
Chief
Posts: 107
Joined: Mon Mar 26, 2007 9:40 am
TopSolid Module: TopSolid'Cam
TopSolid Version: 6.26
Location: The netherlands
Contact:

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

Unread post 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
Mark Oostveen
Chief
Chief
Posts: 107
Joined: Mon Mar 26, 2007 9:40 am
TopSolid Module: TopSolid'Cam
TopSolid Version: 6.26
Location: The netherlands
Contact:

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

Unread post 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
Post Reply