Curves workbench

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
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!
kartuche
Posts: 8
Joined: Fri Jan 29, 2021 7:09 pm

Re: Curves workbench

Post by kartuche »

Chris_G wrote: Sat Mar 20, 2021 9:28 am The Mapped_Sketch must be attached to the target face (through the Support property, MapMode has no incidence)
The geometries that must be mapped on the target face in the Mapped_Sketch must be contained in a blue Construction rectangle that represent the face bounding box.
Hi,
I've done everything Chris wrote and I'm still having trouble to get SketchOnSurface work for me.
Simple shapes, sketch of a circle contained in a blue rectangle. This appears:

Code: Select all

20:23:11  Traceback (most recent call last):
  File "C:\Users\user\AppData\Roaming\FreeCAD\Mod\Curves\Sketch_On_Surface.py", line 244, in execute
    if i.Construction and not obj.ConstructionBounds:
<class 'AttributeError'>: 'Part.LineSegment' object has no attribute 'Construction'
OS: Windows 7 Version 6.1 (Build 7601: SP 1)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.24276 (Git)
Build type: Release
Branch: releases/FreeCAD-0-19
Hash: a88db11e0a908f6e38f92bfc5187b13ebe470438
Python version: 3.8.6+
Qt version: 5.15.1
Coin version: 4.0.1
OCC version: 7.5.0
Locale: Polish/Poland (pl_PL)
Attachments
example.FCStd
(11.42 KiB) Downloaded 40 times
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

Please update Curves WB first.
kartuche
Posts: 8
Joined: Fri Jan 29, 2021 7:09 pm

Re: Curves workbench

Post by kartuche »

Chris_G wrote: Sat Apr 10, 2021 8:24 pm Please update Curves WB first.
Thank you. Works like charm now.
drmacro
Veteran
Posts: 8867
Joined: Sun Mar 02, 2014 4:35 pm

Re: Curves workbench

Post by drmacro »

FYI

Mads Leth Danielsen has a new video for that. :mrgreen:

The volume is low, but, as always great content.

https://youtu.be/z7vgMzuGT2c

;)
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
drmacro
Veteran
Posts: 8867
Joined: Sun Mar 02, 2014 4:35 pm

Re: Curves workbench

Post by drmacro »

Curves WB SVG

The SVG tool says it does something with the svg data on the clipboard.

How does one get the SVG data on the clipboard?

What does it do with the SVG where does it paste said data?

I tried to open an svg and copy it in another FC document to no avail.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
Chris_G
Veteran
Posts: 2579
Joined: Tue Dec 31, 2013 4:10 pm
Location: France
Contact:

Re: Curves workbench

Post by Chris_G »

This tool is useful when working with FC and Inkscape in parallel :

Open Inkscape
Ctrl-C some objects
Switch to FC
Use Curves->PasteSVG tool
The Inkscape objects in clipboard are inserted.
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Curves workbench

Post by Kunda1 »

Chris_G wrote: Sun Apr 11, 2021 9:19 pm This tool is useful when working with FC and Inkscape in parallel :

Open Inkscape
Ctrl-C some objects
Switch to FC
Use Curves->PasteSVG tool
The Inkscape objects in clipboard are inserted.
Would be great to add to Curves_PasteSVG.
Are their any limitations with it?
Also is it scriptable?
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
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

Blend surface: how to get more profiles? :cry:
Attachments
aa.FCStd
(79.94 KiB) Downloaded 42 times
drmacro
Veteran
Posts: 8867
Joined: Sun Mar 02, 2014 4:35 pm

Re: Curves workbench

Post by drmacro »

GlouGlou wrote: Mon Apr 12, 2021 6:50 pm Blend surface: how to get more profiles? :cry:
Rail samples property?
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
User avatar
Vincent B
Veteran
Posts: 4713
Joined: Sun Apr 05, 2015 9:02 am
Location: La Rochelle, France

Re: Curves workbench

Post by Vincent B »

Blend Curve small bug: reversed mode doesn't work with a 0 parameter. Then it's not possible to get the opposite side of edge.
Attachments
Capture.JPG
Capture.JPG (30.25 KiB) Viewed 1303 times
Post Reply