Search found 6 matches

by makafaka
Sat Jul 02, 2022 10:44 pm
Forum: Python scripting and macros
Topic: Remove Internal Lines from Sketch
Replies: 2
Views: 1120

Remove Internal Lines from Sketch

I was wondering if there was a function that would remove lines that are inside a sketch. I am not looking for isInside() because the lines in question are part of the sketch. In other words, I need an automatic way of getting lines that form the outline of the sketch. Example: Here is the starting...
by makafaka
Thu Oct 28, 2021 1:12 am
Forum: Help on using FreeCAD
Topic: Model Heightmap
Replies: 7
Views: 1456

Re: Model Heightmap

I doubt if the workbench is windows only. It might be just not compatible with 0.18, which is fairly outdated by this point. I suggest trying one of the AppImages of 0.20. I imported this a few minutes ago: Snip macro screenshot-ac13fa.png Original png was converted to grayscale bmp and resized dow...
by makafaka
Wed Oct 27, 2021 11:37 pm
Forum: Help on using FreeCAD
Topic: Model Heightmap
Replies: 7
Views: 1456

Re: Model Heightmap

Maybe with the Lithophane external workbench?: https://github.com/furti/FreeCAD-Lithophane This appears to be Windows only. I tried it, it will import the image, but won't convert it to a lithophane successfully. It returns an empty object when I click "create the geometry .. shape of box"...
by makafaka
Wed Oct 27, 2021 2:53 am
Forum: Help on using FreeCAD
Topic: Model Heightmap
Replies: 7
Views: 1456

Model Heightmap

I have a heightmap (grayscale bitmap) that I want to use in FreeCAD. Is it possible to add that in as a model? I am fairly new to FreeCAD. Thanks in advance.

Version: 0.18
Rev Number:
OS: Debian 10 64-bit
by makafaka
Sun May 30, 2021 11:14 pm
Forum: Developers corner
Topic: Point
Replies: 2
Views: 962

Re: Raycasting/Point of Intersection

ickby wrote: Sun May 30, 2021 10:09 pm It does return both, the topologies that are nearest as well as the exact points on both shapes you used.
I was using the first vector returned as a point instead of the second. When I use the second it works like a charm, thank you.
by makafaka
Sun May 30, 2021 9:26 pm
Forum: Developers corner
Topic: Point
Replies: 2
Views: 962

Point

I have tried distToShape, but that is not arbitrary because it returns the nearest face/edge/vert instead of the exact point of intersection.