i'm looking for someone who can help me to convert DXF line with layer names to INP readable format. this is for my internal use or it may publicy, please keep it simple so there's no libs dependencies.
an example are draw many lines, point and face with layer names,
L1 (C1x,C1y,C1z) (C2x,C2y,C2z) layer name: Rect42
L2 (C3x,C3y,C3z) (C4x,C4y,C4z) layer name: Circ3
P1 (C5x,C5y,C5z) layer name:Fix123
*Node
1 x,y,z
...
5 x,y,z
*Element, Type:B31R, Elset=Rect42
1 1,2
*Element, Type:B31R, Elset=Circ3
2 3,4
*Nset, Nset=Fix
P1
*Boundary
Fix 1,3
*Beam Section,Material=..,Elset=Rect40,Section=Rect
4.,2.
...
etc
previously i'm able to parse each object, cooordinates and layernames, but getting dizzy in collecting and indexing. another reason i busy studying mechanical simulation.
hope you're interested and make further discussion by e-mail about scopes and charge if applicable
thank you,
python: converting DXF to INP with layernames
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
Be nice to others! Respect the FreeCAD code of conduct!
Re: python: converting DXF to INP with layernames
Hi,
Greetings!!
I would be glad to assist you.
Sent you PM.
Looking forward for your kind attention.
Best Regards,
Anna J
Greetings!!
I would be glad to assist you.
Sent you PM.
Looking forward for your kind attention.
Best Regards,
Anna J
Re: python: converting DXF to INP with layernames
thank you for your attention,
if you're interested and capable to tackle these subject, please show me in video links for a simple example works.
if you're interested and capable to tackle these subject, please show me in video links for a simple example works.