Search found 522 matches
- Sat Jan 16, 2021 3:43 pm
- Forum: Install / Compile
- Topic: FreeCAD 0.19: macOS Big Sur: stuck on launch
- Replies: 146
- Views: 11250
Re: FreeCAD 0.19: macOS Big Sur: stuck on launch
Netgen drive me insane. ==> cmake -DUSE_PYTHON=OFF -DUSE_NATIVE_ARCH=ON -DUSE_GUI=OFF -DUSE_OCC=ON -DOCC_INCLUDE_DIR="/opt/homebrew/opt/opencascade@7.5.0/include/opencascade" .. ==> make -j8 install log: /tmp/nglib-20210116-35995-j376ij/libsrc/occ/Partition_Loop2d.jxx:11:10: fatal error: 'TopoDS_Fac...
- Tue Nov 17, 2020 7:51 pm
- Forum: Python scripting and macros
- Topic: fusing more objects into one
- Replies: 2
- Views: 204
Re: fusing more objects into one
The Draft WB included an array object. That inherits the fuse function from draftlink. See source code ..
- Mon Nov 16, 2020 8:40 pm
- Forum: Python scripting and macros
- Topic: FreeCAD.Vector from numpy
- Replies: 2
- Views: 267
Re: FreeCAD.Vector from numpy
Try Points: from io import StringIO import numpy as np import Points data = StringIO(u"0.0;0.0;0.0\n1.0;1.0;0.0\n2.0;1.0;0.0") coords = np.genfromtxt(data, dtype=[('x','f8'),('y','f8'), ('z','f8')], delimiter=";") pts = Points.Points() pts.addPoints(coords.tolist()) pts.Points With reshape is it pos...
- Sat Sep 19, 2020 3:26 pm
- Forum: Developers corner
- Topic: Python bindings for Surface WB
- Replies: 11
- Views: 497
Re: Python bindings for Surface WB
Hello Chris,
it is possible the use pythonocc-core now with conda. [1]
[1] https://forum.freecadweb.org/viewtopic. ... 62#p425495
kind regards
it is possible the use pythonocc-core now with conda. [1]
[1] https://forum.freecadweb.org/viewtopic. ... 62#p425495
kind regards
- Fri Sep 18, 2020 8:32 pm
- Forum: Users Showcase
- Topic: glider workbench
- Replies: 125
- Views: 42051
Re: glider workbench
ich konnte die datei in 2,5 minuten laden, wenn ich freecad unter linux mit höchster priorität laufen lasse. (auf einem 7 jahre alten büro-pc) wenn ich daraus mit part einen verbund mache und als fcstd abspeichere, läd die datei nach freecad-neustart in 8 sekunden. das halte ich für brauchbar. lg t...
- Fri Sep 18, 2020 8:23 pm
- Forum: Users Showcase
- Topic: glider workbench
- Replies: 125
- Views: 42051
Re: glider workbench
fc_dxflib.py New version # a FreeCAD Library #*************************************************************************** #* (c) Benjamin Alterauge (gift) 2018 - 2020 * #* * #* This file is part of the FreeCAD CAx development system. * #* * #* This program is free software; you can redistribute it ...
- Fri Sep 18, 2020 6:45 pm
- Forum: Users Showcase
- Topic: glider workbench
- Replies: 125
- Views: 42051
Re: glider workbench
Ich hatte eine einfache Lib geschrieben. Die Klassen kannst du nach Bedarf anpassen. I wrote a simple lib. The classes can you change. fc_dxflib.py # a FreeCAD Library #*************************************************************************** #* (c) Benjamin Alterauge (gift) 2018 - 2020 * #* * #* ...
- Fri Aug 21, 2020 7:30 pm
- Forum: Python scripting and macros
- Topic: Get oriented minimum possible volume bounding box of a shape
- Replies: 8
- Views: 865
Re: Get oriented minimum possible volume bounding box of a shape
New solution with pythonocc-core: import FreeCAD, Points, Part import numpy as np from OCC.Core.Bnd import Bnd_OBB from OCC.Core.BRepBndLib import brepbndlib_AddOBB from OCC.Core.BRepBuilderAPI import BRepBuilderAPI_MakeVertex from OCC.Core.gp import gp_Pnt points = np.random.rand(100, 3) * 10. vect...
- Fri Aug 21, 2020 5:35 pm
- Forum: Forum in Deutsch
- Topic: Reproduzierbare Arbeitsumgebungen / Beschleunigung
- Replies: 8
- Views: 421
Re: Reproduzierbare Arbeitsumgebungen / Beschleunigung
Das wäre blumig.thomas-neemann wrote: ↑Fri Aug 21, 2020 4:14 pmwenn es für dich was bringt kann ich einen reproduzierbaren test machen
- Fri Aug 21, 2020 4:12 pm
- Forum: Forum in Deutsch
- Topic: Reproduzierbare Arbeitsumgebungen / Beschleunigung
- Replies: 8
- Views: 421
Re: Reproduzierbare Arbeitsumgebungen / Beschleunigung
scheinbar ist es so, daß die verwendung von makros "einstellungen" verändert. ... Das verstehe ich nicht. Was verändert was? Gruß Benjamin ich kann dir keine veränderten parameter zeigen, aber wenn ich z.b. mit dem manipulator-macro (kann auch ein anders gewesen sein) ändert sich z.b. das import er...