Search found 11 matches

by yanghang
Fri Jan 05, 2024 1:46 am
Forum: Open discussion
Topic: Wrong parameters with BSpline.
Replies: 3
Views: 714

Re: Wrong parameters with BSpline.

Thanks for your reply. I have searched keywords "BSpline parameters", and the page said these are too common, search query were ignored, no results would be shown. I will try "Chris_G".
by yanghang
Thu Jan 04, 2024 2:59 am
Forum: Open discussion
Topic: Wrong parameters with BSpline.
Replies: 3
Views: 714

Wrong parameters with BSpline.

I am working on a project which takes wires from a 3D model shape. And then convert it to paths for laser cutting. Here, I got a wire from my client. When I am trying to convert the bspline into arcs, its shape changes. I use the python console to check the parameters and find the differences. a=App...
by yanghang
Wed Apr 12, 2023 1:55 am
Forum: Open discussion
Topic: Support For Stick Fonts
Replies: 33
Views: 11197

Re: Support For Stick Fonts

I use the fontforge to open the 1CAMBam_Stick_9.ttf file and find that the characters consist of overlapped splines. So I use ShapeAnalysis_Edge.CheckOverlapping to filter the overlapped edges. This works.
by yanghang
Mon Apr 10, 2023 6:37 am
Forum: Open discussion
Topic: Support For Stick Fonts
Replies: 33
Views: 11197

Re: Support For Stick Fonts

I found a problem, single-line (stick) text will be converted twice, and the lines will overlap. I want to convert it to a cutting path, but it will still cut twice, affecting the cutting efficiency.
by yanghang
Wed Mar 22, 2023 1:09 am
Forum: Draft, Arch & BIM
Topic: Problem with import dxf
Replies: 6
Views: 787

Re: Problem with import dxf

In AutoCAD 3D mirror them or create new circles. ... the same trick seems to work here that wmayer recommends for problematic step imports: load in varicad viewer and save in varicad viewer. import the result into freecad. it worked with this file Bildschirmfoto_2023-03-21_12-13-06.png Thank you fo...
by yanghang
Tue Mar 21, 2023 9:13 am
Forum: Draft, Arch & BIM
Topic: Problem with import dxf
Replies: 6
Views: 787

Re: Problem with import dxf

Thank you for your reply. How can I deal with it so that FreeCAD can open this dxf file with the same effect as AutoCAD?
by yanghang
Tue Mar 21, 2023 6:57 am
Forum: Draft, Arch & BIM
Topic: Problem with import dxf
Replies: 6
Views: 787

Problem with import dxf

Hi, I want to import the attached dxf file into FreeCAD. I found that the circles got wrong position (seems their X value are opposite). I don't know why and I don't know how to fix it. They display well in AutoCAD. https://user-images.githubusercontent.com/12094269/226536831-1a39ef49-95f9-42f5-89f5...
by yanghang
Fri Jun 24, 2022 12:50 am
Forum: Open discussion
Topic: [Solved] toBiArcs Fails to match the origin curve
Replies: 11
Views: 1397

Re: toBiArcs Fails to match the origin curve

Thanks for your reply. I intended to discretize the b-spline, but my leader thought it was too fragmented and was not suitable for laser cutting. The machine can go more smoothly by circular arcs. So I need to shorten the curve for every GeomAbs_BSplineCurve in case of symmetrical B-splines ?
by yanghang
Thu Jun 23, 2022 5:57 am
Forum: Open discussion
Topic: [Solved] toBiArcs Fails to match the origin curve
Replies: 11
Views: 1397

[Solved] toBiArcs Fails to match the origin curve

I am trying to convert a contour to the combination of lines and circular arcs, I call the function toBiArcs(0.01), then I encounter this issue. As shown in the picture, the green curve is the origin, and the red one is the fitted curve. At the right side, two curves seem to mismatch where two arcs ...