Page 122 of 184

Re: Curves workbench

Posted: Sat Mar 05, 2022 7:16 pm
by Vincent B
This face have 5 vertexes. That's make errors with many features (offset3D...).
Could you make a tool for delete the extra vertex? :roll:

Re: Curves workbench

Posted: Wed Mar 09, 2022 3:15 pm
by seppelw
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

Re: Curves workbench

Posted: Wed Mar 09, 2022 3:30 pm
by chennes
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?

Re: Curves workbench

Posted: Wed Mar 09, 2022 3:45 pm
by chennes
seppelw wrote: Wed Mar 09, 2022 3:15 pm Log when I open and close the addon:
...
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

Posted: Sun Mar 13, 2022 4:58 pm
by Kunda1
Heads-up:
[Bug] Rotating the zebra lines is also rotating the reference image/s
https://github.com/tomate44/CurvesWB/issues/64

phpBB [video]

Re: Curves workbench

Posted: Tue Mar 29, 2022 4:13 am
by miniellipse
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.

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.
This is the 2nd file where it didn't work. The 1st was past forum limit.
Hi drmacro,
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

Posted: Sat Apr 02, 2022 1:07 pm
by drmacro
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...

Re: Curves workbench

Posted: Sat Apr 02, 2022 2:42 pm
by Chris_G
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.

Re: Curves workbench

Posted: Sat Apr 02, 2022 3:19 pm
by drmacro
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.
Thanks for the info!

Re: Curves workbench

Posted: Sun Apr 03, 2022 7:56 am
by hammax
... 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 ?)

MixCurvTool.png
MixCurvTool.png (13.85 KiB) Viewed 1783 times

Testing the above example, there are some discrepancies in the bending curves ????

MixedCurve_Var.PNG
MixedCurve_Var.PNG (49.12 KiB) Viewed 1851 times