Search found 26 matches

by sanderboer
Tue Feb 04, 2020 12:43 pm
Forum: IFC
Topic: Problem with huge ifc file
Replies: 28
Views: 8029

Re: Problem with huge ifc file

Nope, my pr does not fix this. =(

I'll look into it though, it looks like it segfaults when trying to extrude a zero size loop ?
by sanderboer
Tue Feb 04, 2020 10:55 am
Forum: IFC
Topic: Problem with huge ifc file
Replies: 28
Views: 8029

Re: Problem with huge ifc file

Hi, Yesterday I posted a PR with a small patch that remedies a segfault bug. It looks like this is what ails this file. Ifcopenshell crashes when checking curve intersections. https://github.com/IfcOpenShell/IfcOpenShell/issues/768 diff : --- /src/ifcgeom/IfcGeomFunctions.cpp +++ /src/ifcgeom/IfcGeo...
by sanderboer
Mon Feb 03, 2020 7:26 pm
Forum: Developers corner
Topic: Terrible lag with wacom pen with draft workbench
Replies: 9
Views: 1718

Re: Terrible lag with wacom pen with draft workbench

Weirdest thing yet is I tested my old wacom bamboo cth-460.

The stylus lags like a kid on its way to a dentist appointment, but touch is snappy like a young puppy.

On the same tablet, truly confounding.

S
by sanderboer
Mon Feb 03, 2020 6:54 pm
Forum: Developers corner
Topic: Does coin4 have advantages ?
Replies: 3
Views: 752

Does coin4 have advantages ?

Hi,

I was wondering if compiling freecad against coin4 has any performance or quality of life benefits over coin3 ?

thx,
Sander
by sanderboer
Mon Feb 03, 2020 8:54 am
Forum: Developers corner
Topic: Terrible lag with wacom pen with draft workbench
Replies: 9
Views: 1718

Terrible lag with wacom pen with draft workbench

Hi, Like the title says, I start drawing a wire for instance and the redraw lag like a full second behind the cursor. When I grab the mouse during this operation the lag disappears. This does not happen when drawing a sketch nor when working with the curves workbench, This happens across all FreeCAD...
by sanderboer
Tue Sep 17, 2019 9:38 am
Forum: Python scripting and macros
Topic: Basic steps to assign a texture to a face ?
Replies: 4
Views: 1587

Re: Basic steps to assign a texture to a face ?

NB:

the placement is not correct in the above snippet, it needs to be:

Code: Select all

p.Placement.Rotation= FreeCAD.Base.Rotation(vec(1,1,0),180
by sanderboer
Tue Sep 17, 2019 9:19 am
Forum: Python scripting and macros
Topic: Basic steps to assign a texture to a face ?
Replies: 4
Views: 1587

Re: Basic steps to assign a texture to a face ?

In the netherlands you have a bunch of interesting webmapservices and webfeature services, pretty sure other countries have the same. If you want to take a stab at it, find your country's EPSG and check pyproj.Transformer to transform latlong coords from google maps. Another question: can I embed a ...
by sanderboer
Tue Sep 17, 2019 9:02 am
Forum: Python scripting and macros
Topic: Basic steps to assign a texture to a face ?
Replies: 4
Views: 1587

Re: Basic steps to assign a texture to a face ?

Yes, yes, thank you. Here is the snippet: (it relies on owslib, you'll have to adfd that to your python env) from owslib.wms import WebMapService import Part from pivy import coin doc=FreeCAD.ActiveDocument vec = FreeCAD.Base.Vector def get_luchtfoto(LOC_RD, size): url="https://geodata.nationaa...
by sanderboer
Sun Sep 15, 2019 8:59 pm
Forum: Python scripting and macros
Topic: Basic steps to assign a texture to a face ?
Replies: 4
Views: 1587

Basic steps to assign a texture to a face ?

Hi, I'm working on a script that downloads an aerial photo of a site and I want to place it in the scene on scale. I have the photo downloader, the geometry is there, but I am poking in the dark when it comes to mapping an image onto geometry. Is there a minimal viable example around ? A simple macr...
by sanderboer
Sat Sep 14, 2019 9:37 am
Forum: Open discussion
Topic: Feature REQ / Question: command line window a la acad / rhino ?
Replies: 1
Views: 364

Feature REQ / Question: command line window a la acad / rhino ?

Hi, tl;dr: how does the community feel about a command line window like acad/ rhino ? Being able to customize aliases, precision input of coordinates (absolute or relative) and transient commands while executing another command (like setting one-off snapping, or a length constraint) ? I am an oldsko...