Curves workbench
Forum rules
and Helpful information
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help
Also, be nice to others! Read the FreeCAD code of conduct!
Also, be nice to others! Read the FreeCAD code of conduct!
Re: Curves workbench
This face have 5 vertexes. That's make errors with many features (offset3D...).
Could you make a tool for delete the extra vertex?
Could you make a tool for delete the extra vertex?
- Attachments
-
- Faces_5_vertexes.FCStd
- (26.22 KiB) Downloaded 45 times
Re: Curves workbench
Hello,
on the latest Win Version the WB does nor show up, is this a known issue? Or are there issies with the Addon-Manager?
Thanks a lot, best Regards, Seppel
--------------------------------------------------
Log when I open and close the addon:
16:24:40 An error occurred updating macros from GitHub:
Cmd('C:\Users\seppel\AppData\Local\Programs\Git\cmd\git.exe') failed due to: exit code(128)
cmdline: C:\Users\seppel\AppData\Local\Programs\Git\cmd\git.exe pull --ff-only
stderr: 'fatal: not a git repository (or any of the parent directories): .git'
16:25:13 Addon Manager: Unexpected 403 response from server
16:25:13 Traceback (most recent call last):
16:25:13 File "C:\sw_inst\FC\FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64\Mod\AddonManager\addonmanager_workers.py", line 881, in run
16:25:13 self.macro.fill_details_from_wiki(url)
16:25:13 File "C:\sw_inst\FC\FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64\Mod\AddonManager\addonmanager_macro.py", line 254, in fill_details_from_wiki
16:25:13 translate(
16:25:13 KeyError: 'rawcodeurl'
16:25:18 Addon Manager: Unexpected 404 response from server
16:25:20 Syntax error while reading __files__ from macro AeroFoil
16:25:20 __Files__ = "AeroFoil_UI_Files/AeroFoil_Initial_Dialog.ui, AeroFoil_UI_Files/AeroFoil_NACA4Digit_Dialog.ui, \
16:25:26 Addon Manager: Unexpected 403 response from server
16:25:26 Traceback (most recent call last):
16:25:26 File "C:\sw_inst\FC\FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64\Mod\AddonManager\addonmanager_workers.py", line 881, in run
16:25:26 self.macro.fill_details_from_wiki(url)
16:25:26 File "C:\sw_inst\FC\FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64\Mod\AddonManager\addonmanager_macro.py", line 254, in fill_details_from_wiki
16:25:26 translate(
16:25:26 KeyError: 'rawcodeurl'
--------------------------------------------------
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.27809 (Git)
Build type: Release
Python 3.8.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: German/Germany (de_DE)
Installed mods:
* 3D_Printing_Tools
* Assembly4 0.11.10
* BIM 2021.12.0
* BIMBots
* BOLTS
* BOLTSFC
* CurvedShapes 1.0.1
* Curves 0.3.0
* dodo
* fasteners 0.3.38
* FCGear 1.0.0
* FEM_FrontISTR
* kicadStepUpMod 10.10.6
* MeshRemodel 1.8919.0
* nurbs
* POV-Ray-Rendering
* Render 2022.1.0
* sheetmetal 0.2.49
* trails
on the latest Win Version the WB does nor show up, is this a known issue? Or are there issies with the Addon-Manager?
Thanks a lot, best Regards, Seppel
--------------------------------------------------
Log when I open and close the addon:
16:24:40 An error occurred updating macros from GitHub:
Cmd('C:\Users\seppel\AppData\Local\Programs\Git\cmd\git.exe') failed due to: exit code(128)
cmdline: C:\Users\seppel\AppData\Local\Programs\Git\cmd\git.exe pull --ff-only
stderr: 'fatal: not a git repository (or any of the parent directories): .git'
16:25:13 Addon Manager: Unexpected 403 response from server
16:25:13 Traceback (most recent call last):
16:25:13 File "C:\sw_inst\FC\FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64\Mod\AddonManager\addonmanager_workers.py", line 881, in run
16:25:13 self.macro.fill_details_from_wiki(url)
16:25:13 File "C:\sw_inst\FC\FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64\Mod\AddonManager\addonmanager_macro.py", line 254, in fill_details_from_wiki
16:25:13 translate(
16:25:13 KeyError: 'rawcodeurl'
16:25:18 Addon Manager: Unexpected 404 response from server
16:25:20 Syntax error while reading __files__ from macro AeroFoil
16:25:20 __Files__ = "AeroFoil_UI_Files/AeroFoil_Initial_Dialog.ui, AeroFoil_UI_Files/AeroFoil_NACA4Digit_Dialog.ui, \
16:25:26 Addon Manager: Unexpected 403 response from server
16:25:26 Traceback (most recent call last):
16:25:26 File "C:\sw_inst\FC\FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64\Mod\AddonManager\addonmanager_workers.py", line 881, in run
16:25:26 self.macro.fill_details_from_wiki(url)
16:25:26 File "C:\sw_inst\FC\FreeCAD_weekly-builds-27809-Win-Conda_vc14.x-x86_64\Mod\AddonManager\addonmanager_macro.py", line 254, in fill_details_from_wiki
16:25:26 translate(
16:25:26 KeyError: 'rawcodeurl'
--------------------------------------------------
OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.20.27809 (Git)
Build type: Release
Python 3.8.12, Qt 5.12.9, Coin 4.0.0, OCC 7.5.3
Locale: German/Germany (de_DE)
Installed mods:
* 3D_Printing_Tools
* Assembly4 0.11.10
* BIM 2021.12.0
* BIMBots
* BOLTS
* BOLTSFC
* CurvedShapes 1.0.1
* Curves 0.3.0
* dodo
* fasteners 0.3.38
* FCGear 1.0.0
* FEM_FrontISTR
* kicadStepUpMod 10.10.6
* MeshRemodel 1.8919.0
* nurbs
* POV-Ray-Rendering
* Render 2022.1.0
* sheetmetal 0.2.49
* trails
- Attachments
-
- 2022-03-09 16_14_11-FreeCAD 0.20.png (42.66 KiB) Viewed 2304 times
-
- 2022-03-09 16_13_52-FreeCAD 0.20.png (46.34 KiB) Viewed 2304 times
Re: Curves workbench
Do you have any messages in the Report View? Sorry, somehow missed the middle of the post!
None of the errors from the Addon Manager would affect whether Curves loads or not -- do you have logging turned on? If so, can you take a look at the output log file and see if there is anything unusual in the initialization of Curves?
None of the errors from the Addon Manager would affect whether Curves loads or not -- do you have logging turned on? If so, can you take a look at the output log file and see if there is anything unusual in the initialization of Curves?
Re: Curves workbench
Could you please post to the Addon Manager discussion topic to try to get those AM errors resolved? It looks like some bad cache data.
https://forum.freecadweb.org/viewtopic.php?f=9&t=64628
Re: Curves workbench
Heads-up:
[Bug] Rotating the zebra lines is also rotating the reference image/s
https://github.com/tomate44/CurvesWB/issues/64
[Bug] Rotating the zebra lines is also rotating the reference image/s
https://github.com/tomate44/CurvesWB/issues/64
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
- miniellipse
- Posts: 101
- Joined: Tue Apr 24, 2018 9:09 pm
Re: Curves workbench
Hi drmacro,drmacro wrote: ↑Sat Jan 01, 2022 7:24 pm Hmm...loaded an offending file, ran the code, closed/opened file:
Edit: it appears to work on some files.
This is the 2nd file where it didn't work. The 1st was past forum limit.Code: Select all
14:19:23 Traceback (most recent call last): File "/home/mac/.local/share/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 196, in onChanged self.execute(fp) File "/home/mac/.local/share/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 179, in execute self.makeRibs(prop) File "/home/mac/.local/share/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 114, in makeRibs if (obj.Surface or obj.Solid) and obj.Items > 1: <class 'AttributeError'>: 'FeaturePython' object has no attribute 'Surface' 14:19:23 16Standard_Failure Need at least two vertices, edges or wires to create loft face 14:19:23 Creation of surface is not possible ! 14:19:23 <Part> ViewProviderExt.cpp(1306): Cannot compute Inventor representation for the shape of sink#CurvedArray: Bnd_Box is void 14:19:23 16Standard_Failure Need at least two vertices, edges or wires to create loft face 14:19:23 Creation of surface is not possible ! 14:19:23 <Part> ViewProviderExt.cpp(1306): Cannot compute Inventor representation for the shape of sink#CurvedArray: Bnd_Box is void 14:19:23 Traceback (most recent call last): File "/home/mac/.local/share/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 196, in onChanged self.execute(fp) File "/home/mac/.local/share/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 179, in execute self.makeRibs(prop) File "/home/mac/.local/share/FreeCAD/Mod/CurvedShapes/CurvedArray.py", line 114, in makeRibs if (obj.Surface or obj.Solid) and obj.Items > 1: <class 'AttributeError'>: 'FeaturePython' object has no attribute 'Surface' 14:19:23 16Standard_Failure Need at least two vertices, edges or wires to create loft face 14:19:23 Creation of surface is not possible ! 14:19:23 <Part> ViewProviderExt.cpp(1306): Cannot compute Inventor representation for the shape of sink#CurvedArray001: Bnd_Box is void 14:19:23 16Standard_Failure Need at least two vertices, edges or wires to create loft face 14:19:23 Creation of surface is not possible ! 14:19:23 <Part> ViewProviderExt.cpp(1306): Cannot compute Inventor representation for the shape of sink#CurvedArray001: Bnd_Box is void 14:19:23 AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined. 14:19:23 AttachEngine3D::calculateAttachedPlacement:InertialCS: inertia tensor has axis of symmetry. Second and third axes of inertia are undefined.
Did you ever solve the above problem on your mac. I have similar problem which I posted to this forum:
https://forum.freecadweb.org/viewtopic. ... 13#p583313
I have a feeling my system upgrade to osx Monterey might be to blame, but I do not know how to fix. Any help is appreciated.
Thank you.
Re: Curves workbench - Mixed curves tool
Not sure if this is a bug or expected behaviour.
When I make the curves in orange and blue, the result of Mixed curve is in black. The mid section of the resulting curve is missing...
When I make the curves in orange and blue, the result of Mixed curve is in black. The mid section of the resulting curve is missing...
- Attachments
-
- Snip macro screenshot-48710d.png (53.64 KiB) Viewed 1882 times
-
- Example_Curves_Mixed curves_missing-section.FCStd
- (23.32 KiB) Downloaded 33 times
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Curves workbench
This is an expected corner case.
The mixed curve is the intersection of the 2 extruded input curves.
For the middle segment, the 2 input lines generate identical planes when extruded, so their intersection is not a defined curve, but this whole plane.
Fortunately, the MixedCurve doesn't fail, but simply ignores the missing segment, so you can fill it with a parametric line, or interpolation curve, or blendcurve.
The mixed curve is the intersection of the 2 extruded input curves.
For the middle segment, the 2 input lines generate identical planes when extruded, so their intersection is not a defined curve, but this whole plane.
Fortunately, the MixedCurve doesn't fail, but simply ignores the missing segment, so you can fill it with a parametric line, or interpolation curve, or blendcurve.
Re: Curves workbench
Thanks for the info!Chris_G wrote: ↑Sat Apr 02, 2022 2:42 pm This is an expected corner case.
The mixed curve is the intersection of the 2 extruded input curves.
For the middle segment, the 2 input lines generate identical planes when extruded, so their intersection is not a defined curve, but this whole plane.
Fortunately, the MixedCurve doesn't fail, but simply ignores the missing segment, so you can fill it with a parametric line, or interpolation curve, or blendcurve.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Re: Curves workbench
... playing with MixedCurve I understand, there always are 3 possible combination partners.
They can be substituted by an Extrude pair and the Section tool in PartWB.
(Is it also possible to do MixedCurve with "oblique projections" - no - because of axis direction constraint ?)
Testing the above example, there are some discrepancies in the bending curves ????
They can be substituted by an Extrude pair and the Section tool in PartWB.
(Is it also possible to do MixedCurve with "oblique projections" - no - because of axis direction constraint ?)
Testing the above example, there are some discrepancies in the bending curves ????
- Attachments
-
- Mixed curves_missing-section_2.FCStd
- FC.19.4
- (48.78 KiB) Downloaded 29 times