Search found 1361 matches

by edwilliams16
Sun Aug 14, 2022 12:03 am
Forum: Python scripting and macros
Topic: Sections of a BSPlineCurve
Replies: 3
Views: 172

Re: Sections of a BSPlineCurve

I made your bspline periodic with bspline.setPeriodic(). Its parameter range is 0 <= u < 1 Being periodic makes u + n (n integer) the same point for every n. Your u parameters go like 0 < val3 < val4 <val1 < val2 < 1 spline.trim(val3, val4) cuts out the segment between 3 and 4 as expected. However t...
by edwilliams16
Sat Aug 13, 2022 7:55 pm
Forum: Python scripting and macros
Topic: Sections of a BSPlineCurve
Replies: 3
Views: 172

Re: Sections of a BSPlineCurve

Shouldn't your BSpline be a periodic one?
by edwilliams16
Sat Aug 13, 2022 5:34 pm
Forum: Help on using FreeCAD
Topic: Distance between points/length of a Vector in Formula editor
Replies: 3
Views: 177

Re: Distance between points/length of a Vector in Formula editor

What I currently do is sqrt((<<Pt1>>.Placement.Base-<<Pt2>>.Placement.Base)*(<<Pt1>>.Placement.Base-<<Pt2>>.Placement.Base)) Is it possible to express this in a more convenient way? (<<Pt1>>.Placement.Base - <<Pt2>>.Placement.Base).Length
by edwilliams16
Fri Aug 12, 2022 1:19 am
Forum: Help on using FreeCAD
Topic: Creating supporting structure inside a wing (3d printing)
Replies: 10
Views: 522

Re: Creating supporting structure inside a wing (3d printing)

I’d maybe try https://wiki.freecadweb.org/Macro_Honeycomb . A fully 3D cellular structure would likely be not printable because of the overhangs. We did have someone come by about a year ago with a scheme for a random mesh with limited overhang angles. I don't know if he succeeded in implementing it...
by edwilliams16
Thu Aug 11, 2022 11:05 pm
Forum: Help on using FreeCAD
Topic: Creating supporting structure inside a wing (3d printing)
Replies: 10
Views: 522

Re: Creating supporting structure inside a wing (3d printing)

You need to model the wing as a solid with a hole for the tube. Your slicer will allow you to choose the density of the infill structure and how many surface layers to make. It wont fill empty space. If the lowest working infill is too dense for your needs, you will have to model the structure yours...
by edwilliams16
Thu Aug 11, 2022 7:48 pm
Forum: Python scripting and macros
Topic: How to rotate one vector to the another?
Replies: 1
Views: 155

Re: How to rotate one vector to the another?

App.Rotation(v1, v2) rotates v1 into v2 in the v1 - v2 plane. (There are an infinity of other possible rotation axes) Just type help(App.Rotation) into the Python console. Excerpt below: >>> help(App.Rotation) Help on class Rotation: class Rotation(builtins.PyObjectBase) | Base.Rotation class. | | ...
by edwilliams16
Tue Aug 09, 2022 7:00 pm
Forum: Help on using FreeCAD
Topic: Crasting zig-yag line. Is there simple way?
Replies: 14
Views: 531

Re: Crasting zig-yag line. Is there simple way?

Using loft to point and polar pattern in Part Design looks simpler to me.
Screen Shot 2022-08-09 at 8.58.36 AM.png
Screen Shot 2022-08-09 at 8.58.36 AM.png (39.79 KiB) Viewed 122 times
by edwilliams16
Tue Aug 09, 2022 5:32 pm
Forum: Help on using FreeCAD
Topic: Scaled Draft Clone fails Part Check Geometry.
Replies: 3
Views: 241

Scaled Draft Clone fails Part Check Geometry.

checkGeometry.FCStd
(5.62 KiB) Downloaded 5 times
Is this a bug or a false alarm?

EDIT: It even fails for a full sphere.

EDIT2: Part|Create Primitives|Ellipsoid also fails geometry check. https://wiki.freecadweb.org/Part_Ellipsoid
by edwilliams16
Tue Aug 09, 2022 3:43 pm
Forum: Python scripting and macros
Topic: BSplines with X number of points from txt file
Replies: 13
Views: 631

Re: BSplines with X number of points from txt file

It is a python list comprehension. https://www.geeksforgeeks.org/python-l ... rehension/ a compact way of transforming a list into another list without writing an explicit for loop.