IFC, STEP, IPT, 3D-DXF, 3D 2D DWG, PLY, ASC, xyz, e57, ptx, las, laz, x_t, SLDPRT, IGES, PDF, dgn, FBX, SAT, 3dm wrl 3ds

In diesem Forum Fragen und Diskussionen in Deutsch
Forum rules
Foren-Regeln und hilfreiche Informationen

WICHTIG: Bitte zuerst lesen, bevor Sie posten
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Arbeitsablauf für IFC, STEP, IPT, 3D-DXF, 3D DWG, PLY, ASC, xyz, e57, ptx, las, laz u. IGES -Files

Post by thomas-neemann »

hier das makro für die umwandlung von stp in stl. es läuft im hintergrund. ladezeit stp 5 min 46 sec. als stl 2 sec.

Code: Select all

import FreeCAD
import subprocess
import shlex
subprocess.call(shlex.split('/home/pc50/.FreeCAD/stp2stl.sh'))

Code: Select all

#!/bin/bash


/home/pc50/.FreeCAD/stp2stl2.sh&


Code: Select all

#!/bin/bash


frmdata=$(yad --title "Dateiname mit Pfad ohne .stp " --form --field "")


frmaddr=$(echo $frmdata | awk 'BEGIN {FS="|" } { print $1 }')

gmsh $frmaddr".stp" -2 format auto -o $frmaddr".stl"


https://www.youtube.com/watch?v=XXzk5wUpwnE


phpBB [video]
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Arbeitsablauf für IFC, STEP, IPT, 3D-DXF, 3D DWG, PLY, ASC, xyz, e57, ptx, las, laz u. IGES -Files

Post by thomas-neemann »

hier ist die freecad-pro 1.0 konfiguration für metallbau, holzbau, architektur-entwurf, punktwolkenbearbeitung, bauantrag und dateien > 100 mb
(xubuntu lts realthunder, /home/pc50 muß natürlich angepasst werden, ifcconvert ist enthalten)


https://drive.google.com/file/d/1Q9bo7m ... sp=sharing


hier die wichtigsten icons von freecad-pro v1

1-v1.png
1-v1.png (140.08 KiB) Viewed 2371 times




hier das viedeo zu ifc2dae

dae ist nicht nur schneller, sondern verbraucht auch erheblich weniger ram

https://www.youtube.com/watch?v=KFoVFAanq9k

phpBB [video]




OS: Ubuntu 20.04.1 LTS (XFCE/xubuntu)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2021.1015.24301 +4280 (Git) AppImage
Build type: Release
Branch: LinkDaily
Hash: 556c87868ea46796242156e9f73eae98259794b7
Python version: 3.9.7
Qt version: 5.12.9
Coin version: 4.0.1
OCC version: 7.5.2
Locale: German/Germany (de_DE)



edit


vor der "installation" die eigenen konfigurationsdateien umbenennen, damit kein durcheinander passsiert und man zurück kann, wenn nötig.
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Arbeitsablauf für IFC, STEP, IPT, 3D-DXF, 3D DWG, PLY, ASC, xyz, e57, ptx, las, laz u. IGES -Files

Post by thomas-neemann »

viele leute (auch ich) sind der meinung, daß für den bau im bestand (ca 80% aller bauarbeiten) die punktwolke immer wichtiger wird. hier ein workaround für den fall, daß freecad die punktwolke nicht anzeigt. mit anschließender modellgenerierung.

mit freecad ist "alles" mühelos möglich. sensationell.


https://www.youtube.com/watch?v=4SLWYU3IqQo


phpBB [video]





edit punktwolke download

http://kos.informatik.uni-osnabrueck.de ... achte1.tgz


1.png
1.png (119.14 KiB) Viewed 2305 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Arbeitsablauf für IFC, STEP, IPT, 3D-DXF, 3D DWG, PLY, ASC, xyz, e57, ptx, las, laz u. IGES -Files

Post by thomas-neemann »

[gelöst] bin gerade dabei eine macro-konvertierung für .e57 punktwolken zu erstellen. den tipp von jeno

https://forum.freecadweb.org/viewtopic. ... 57#p422609

mit pdal bekomme ich unter xubuntu nicht zum laufen

Code: Select all

pc50@pc50-ThinkCentre-M73z:~/Dokumente/20okt$ pdal translate ./garage.e57 ./garage.ply
PDAL: Couldn't create reader stage of type 'readers.e57'.
You probably have a version of PDAL that didn't come with a plugin
you're trying to load.  Please see the FAQ at https://pdal.io/faq

pc50@pc50-ThinkCentre-M73z:~/Dokumente/20okt$ 
mir ist auch das ausgabeformat asc/xyz lieber, weil man das beliebig oft halbieren kann. scheinbar geht sowas mit cloudcompare

sytax

https://www.cloudcompare.org/doc/wiki/i ... _line_mode

aber es wird keine datei erzeugt

Code: Select all

pc50@pc50-ThinkCentre-M73z:~/Dokumente/20okt$ CloudCompare -SILENT -C_EXPORT_FMT ASC -O garage.e57 -SAVE_CLOUDS FILE garage.xyz
Output export format (clouds) set to: ASC
[LOADING]
Opening file: 'garage.e57'
Processed finished in 0.03 s.
pc50@pc50-ThinkCentre-M73z:~/Dokumente/20okt$ 
hat jemand eine idee?


lg thomas


edit

fehlermeldung
1.png
1.png (75.93 KiB) Viewed 2237 times

edit 2

habe ein info aus 2016 gefunden: The FARO and E57 formats are only available on Windows for now

wenn ich das programm starte kann ich e57 einlesen und als asc exportieren. seltsam


edit 3

bei mir ist clodcompare doppelt installiert. eine installation kann es nicht. ich denke das problem ist gelöst.


edit 4


es funktioniert

Code: Select all

env BAMF_DESKTOP_FILE_HINT=/var/lib/snapd/desktop/applications/cloudcompare_cloudcompare.desktop /snap/bin/cloudcompare.CloudCompare -SILENT -C_EXPORT_FMT ASC -O garage.e57 -SAVE_CLOUDS FILE garage.xyz
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
jeno
Veteran
Posts: 1802
Joined: Sun Jun 29, 2014 10:41 am

Re: Arbeitsablauf für IFC, STEP, IPT, 3D-DXF, 3D DWG, PLY, ASC, xyz, e57, ptx, las, laz u. IGES -Files

Post by jeno »

thomas-neemann wrote: Sat Oct 23, 2021 4:27 pm ...
mit pdal bekomme ich unter xubuntu nicht zum laufen
...
mir ist auch das ausgabeformat asc/xyz lieber, weil man das beliebig oft halbieren kann. scheinbar geht sowas mit cloudcompare
...
aber es wird keine datei erzeugt
...
hat jemand eine idee?
...
CloudCompare nutzt pdal für konvertierung und anderes.
Das plugin für e57-Format ist erst seit 20.10 groovy in den Ubuntu-Repos verfügbar. Das kann dann mit vorherigen Versionen nicht klappen.
Das Snap für CloudCompare hat E57 mit an Bord.

Mit freundlichen
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Arbeitsablauf für IFC, STEP, IPT, 3D-DXF, 3D DWG, PLY, ASC, xyz, e57, ptx, las, laz u. IGES -Files

Post by thomas-neemann »

jeno wrote: Sun Oct 24, 2021 7:07 am
danke für die info, das erklärt es.


hier ein beispiel mit e57 (sketcher part draft)

1-garage.png
1-garage.png (217.31 KiB) Viewed 2132 times


https://www.idc.ch/fileadmin/user_uploa ... garage.zip



https://www.youtube.com/watch?v=Y-Y-wVlgemg


phpBB [video]
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Arbeitsablauf für IFC, STEP, IPT, 3D-DXF, 3D DWG, PLY, ASC, xyz, e57, ptx, las, laz u. IGES -Files

Post by thomas-neemann »

hier die updates für xubuntu lts

sudo snap install cloudcompare

e57_2asc.FCMacro
(109 Bytes) Downloaded 60 times
sh.zip
(604 Bytes) Downloaded 55 times
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Gift
Posts: 769
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: Arbeitsablauf für IFC, STEP, IPT, 3D-DXF, 3D DWG, PLY, ASC, xyz, e57, ptx, las, laz u. IGES -Files

Post by Gift »

thomas-neemann wrote: Hallo Thomas,


ich habe mal bissel mit dem Dateiformat rumgebastelt. Kannst du den Importer testen. Ich habe dir die Library für linux angehängt, oder einfach selber bauen. Den Pfad+Name der Library sowie das gleiche Spiel mit dem Dateiname muss du am Anfang der Datei anpassen. Komfort gibt es nicht. :D

Gruß
Benjamin
Attachments
liblibE57Tools.so.0.1.0.zip
(374.64 KiB) Downloaded 47 times
User avatar
thomas-neemann
Veteran
Posts: 11729
Joined: Wed Jan 22, 2020 6:03 pm
Location: Osnabrück DE 🇩🇪
Contact:

Re: Arbeitsablauf für IFC, STEP, IPT, 3D-DXF, 3D DWG, PLY, ASC, xyz, e57, ptx, las, laz u. IGES -Files

Post by thomas-neemann »

Gift wrote: Tue Nov 30, 2021 1:18 pm
hallo benjamin

danke für die mitarbiet. ich stehe mit c.. und kompilieren auf kriegsfuß. kannst du etwas fertig kompiliertes mit z.b. /tmp/input.e57 für linux hochladen?

Code: Select all

pc50@pc50-ThinkCentre-M73z:~/Dokumente/test/libE57Tools/build$ cmake ..
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Failed to find XercesC (missing: XercesC_LIBRARY XercesC_INCLUDE_DIR
  XercesC_VERSION)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.16/Modules/FindXercesC.cmake:99 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/pc50/Dokumente/test/libE57Tools/build/CMakeFiles/CMakeOutput.log".

lg thomas
Gruß Dipl.-Ing. (FH) Thomas Neemann

https://www.youtube.com/@thomasneemann5 ... ry=freecad
User avatar
Gift
Posts: 769
Joined: Tue Aug 18, 2015 10:08 am
Location: Germany, Sauerland

Re: Arbeitsablauf für IFC, STEP, IPT, 3D-DXF, 3D DWG, PLY, ASC, xyz, e57, ptx, las, laz u. IGES -Files

Post by Gift »

thomas-neemann wrote: Tue Nov 30, 2021 1:53 pm
Gift wrote: Tue Nov 30, 2021 1:18 pm
hallo benjamin

danke für die mitarbiet. ich stehe mit c.. und kompilieren auf kriegsfuß. kannst du etwas fertig kompiliertes mit z.b. /tmp/input.e57 für linux hochladen?

Code: Select all

pc50@pc50-ThinkCentre-M73z:~/Dokumente/test/libE57Tools/build$ cmake ..
-- The C compiler identification is GNU 9.3.0
-- The CXX compiler identification is GNU 9.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:146 (message):
  Failed to find XercesC (missing: XercesC_LIBRARY XercesC_INCLUDE_DIR
  XercesC_VERSION)
Call Stack (most recent call first):
  /usr/share/cmake-3.16/Modules/FindPackageHandleStandardArgs.cmake:393 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.16/Modules/FindXercesC.cmake:99 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:8 (find_package)


-- Configuring incomplete, errors occurred!
See also "/home/pc50/Dokumente/test/libE57Tools/build/CMakeFiles/CMakeOutput.log".

lg thomas
Die Datei hängt bereits in meinem vorherigen Post an. Die verlinkte Datei ist reiner Python-Code. Da must die ersten Zeilen ändern:

Code: Select all

LIBRARY  = '.../liblibE57Tools.so.0.1.0'
TESTFILE = u'/tmp/input.e57'
Ahja und zu dem Fehler von cmake:

1. Fehlende dev-Paket suchen:

Code: Select all

apt-cache search xerces
2. Installieren:

Code: Select all

apt-get install libxerces-c-dev
Post Reply