View Issue Details

IDProjectCategoryView StatusLast Update
0002584ArchFeaturepublic2021-09-06 10:08
Reporteryorik Assigned Toyorik  
PrioritynormalSeverityminorReproducibilityhave not tried
Status assignedResolutionopen 
PlatformPCOSDebianOS VersionTesting 64bit
Target Version0.20 
Summary0002584: Support for SweetHome3D xml-based files
DescriptionSweetHome3D ( http://www.sweethome3d.com/ ) has a plugin ( http://www.sweethome3d.com/blog/2016/05/05/export_to_html5_plug_in.html ) that exports the contents of a file as a zip that contains a master xml file describing the walls and the objects placements, and an obj file for each piece of furniture.

This format could be easily imported and exported by FreeCAD.

Currently that .zip is not reimportable in SH3D, but that's in their plans...
Additional InformationUsing Yorik's SweetHome3D importer https://forum.freecadweb.org/viewtopic.php?f=23&t=16205
Sweet Home 3D integration/collaboration - https://forum.freecadweb.org/viewtopic.php?f=8&t=23965
Tags#lowhangingfruit, export, import
FreeCAD Information

Activities

yorik

2016-06-13 14:41

administrator   ~0007143

New version of the plugin that exports walls as xml: http://www.sweethome3d.com/plugins/ExportToXMLOBJ-1.1.sh3p see annexed example file

Discussion thread: http://www.sweethome3d.com/support/forum/viewthread_thread,6708_offset,25

Discussion about reimporting such data in SH3d: http://www.sweethome3d.com/support/forum/viewthread_thread,6708_offset,20

yorik

2016-06-13 14:41

administrator  

testhouse.zip (Attachment missing)

Kunda1

2017-03-27 15:33

administrator   ~0008715

Last edited: 2017-03-27 15:33

@yorik FYI plugins updated per http://www.sweethome3d.com/support/forum/viewthread_thread,6708_offset,30#32844
Here's the new versions 1.2 of Export to HTML5 and Export to XML/OBJ plug-ins.
Both plug-ins are now based on the management of the new XML entry that was added to .sh3d files in Sweet Home 3D 5.3. The JavaScript part of the Export to HTML5 plug-in now supports pinch for zoom under Android and Windows, and was optimized to draw 3D lines faster.

yorik

2017-05-02 22:56

administrator   ~0008872

Yes the plugin is now part of the 5.3 version, no need to install anything more, normally. I still need to test, though

Kunda1

2017-08-14 00:24

administrator   ~0009925

@yorik can you test this and confirm ?

Kunda1

2018-06-07 21:53

administrator   ~0011365

Relevant:
SweetHome3D HTML5/XML to Blender importer

Kunda1

2021-09-06 10:08

administrator   ~0015902

Progress made by user 'laschrocket' in https://forum.freecadweb.org/viewtopic.php?p=530893#p530893

yorik

2022-03-03 13:55

administrator   ~0016493

This ticket has been migrated to GitHub as issue 5658.

Related Changesets

FreeCAD: master 3510c71f

2016-06-16 02:24:03

yorik

Details Diff
Arch: First version of Sweethome3D importer - issue 0002584 Affected Issues
0002584
mod - src/Mod/Arch/CMakeLists.txt Diff File
mod - src/Mod/Arch/Init.py Diff File
add - src/Mod/Arch/importSH3D.py Diff File

Issue History

Date Modified Username Field Change
2016-06-11 15:06 yorik New Issue
2016-06-11 15:06 yorik Status new => assigned
2016-06-11 15:06 yorik Assigned To => yorik
2016-06-11 15:07 yorik Project FreeCAD => Arch
2016-06-13 14:41 yorik Note Added: 0007143
2016-06-13 14:41 yorik File Added: testhouse.zip
2016-06-16 01:29 yorik Changeset attached => FreeCAD Master master 3510c71f
2017-03-27 15:33 Kunda1 Note Added: 0008715
2017-03-27 15:33 Kunda1 Note Edited: 0008715
2017-03-27 15:56 Kunda1 Tag Attached: #lowhangingfruit
2017-05-02 22:56 yorik Note Added: 0008872
2017-08-14 00:24 Kunda1 Note Added: 0009925
2018-01-12 15:09 yorik Target Version => 0.18
2018-06-07 21:53 Kunda1 Note Added: 0011365
2018-06-07 21:57 Kunda1 Additional Information Updated
2018-10-03 16:41 Kunda1 Tag Attached: import
2018-10-03 16:41 Kunda1 Tag Attached: export
2019-02-15 00:25 yorik Target Version 0.18 => 0.19
2021-02-06 06:28 abdullah Target Version => 0.20
2021-09-06 10:08 Kunda1 Note Added: 0015902