View Issue Details

IDProjectCategoryView StatusLast Update
0002335File formatspublic2017-03-20 22:38
Reporterdouardda 
Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status feedbackResolutionopen 
Summary0002335: export in .obj file should use the objects labels
DescriptionWhen exporting objects in a Wavefront .obj file format, the object labels are not used to identify them in the generated file, but are generated from the object type.

eg. a scene with a cube named 'MonCube' in FreeCad will be exported as:

 
  # FreeCAD v0.15 build4671 (Git) Arch module
  # http://www.freecadweb.org
  o Box
  v 18.881188 4.8209 4.903852
  v 18.881188 4.8209 -5.096148
  v 18.881188 14.8209 4.903852
  v 18.881188 14.8209 -5.096148
  v 28.881188 4.8209 4.903852
  v 28.881188 4.8209 -5.096148
  v 28.881188 14.8209 4.903852
  v 28.881188 14.8209 -5.096148
  f 1 2 4 3
  f 5 6 8 7
  f 6 2 1 5
  f 8 4 3 7
  f 4 2 6 8
  f 3 1 5 7


I would have expected the line:

  o Box

to be:

  o MonCube


TagsOBJ

Relationships

related to 0002336 new importing .obj file should use the object names as labels 

Activities

2015-11-12 08:43douarddaNew Issue

damian

2015-11-25 13:41

reporter   ~0006553

Last edited: 2015-11-25 16:30

View 2 revisions

Hello douardda:

I wrote a solution in
 
https://github.com/caceres/FreeCAD/commits/importOBJ

commit 21 nov 2015 "enable obj Label"

2015-11-25 16:30damianNote Edited: 0006553View Revisions
2015-11-28 16:08wmayerRelationship addedrelated to 0002336

Kunda1

2017-01-16 09:55

manager   ~0007818

@damian did you submit a PR for this? BTW the repo link is 404
2017-01-16 09:55Kunda1Statusnew => feedback

Kunda1

2017-01-20 21:36

manager   ~0007897

Forum thread: https://forum.freecadweb.org/viewtopic.php?f=10&t=20088

Kunda1

2017-03-02 12:16

manager   ~0008509

@damian ping
2017-03-20 22:38Kunda1Tag Attached: OBJ

Issue History

Date Modified Username Field Change
2015-11-12 08:43 douardda New Issue
2015-11-25 13:41 damian Note Added: 0006553
2015-11-25 16:30 damian Note Edited: 0006553 View Revisions
2015-11-28 16:08 wmayer Relationship added related to 0002336
2017-01-16 09:55 Kunda1 Note Added: 0007818
2017-01-16 09:55 Kunda1 Status new => feedback
2017-01-20 21:36 Kunda1 Note Added: 0007897
2017-03-02 12:16 Kunda1 Note Added: 0008509
2017-03-20 22:38 Kunda1 Tag Attached: OBJ