View Issue Details

IDProjectCategoryView StatusLast Update
0002335File formatsFeaturepublic2021-02-06 06:31
Reporterdouardda Assigned To 
PrioritynormalSeverityfeatureReproducibilityalways
Status feedbackResolutionopen 
Target Version0.20 
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


Tags#post-to-forum, OBJ
FreeCAD Information

Relationships

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

Activities

damian

2015-11-25 13:41

reporter   ~0006553

Last edited: 2015-11-25 16:30

Hello douardda:

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

commit 21 nov 2015 "enable obj Label"

Kunda1

2017-01-16 09:55

administrator   ~0007818

@damian did you submit a PR for this? BTW the repo link is 404

Kunda1

2017-01-20 21:36

administrator   ~0007897

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

Kunda1

2017-03-02 12:16

administrator   ~0008509

@damian ping

yorik

2022-03-03 13:55

administrator   ~0016470

This ticket has been migrated to GitHub as issue 5635.

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
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
2018-01-25 16:54 Kunda1 Category => Feature
2018-01-25 16:54 Kunda1 Tag Attached: #post-to-forum
2021-02-06 06:31 abdullah Target Version => 0.20