Macro FC Convert Lines

Macro FCConvertLines.png Macro FC Convert Lines

Description
This macro convert the object line, wire in line Dash, DashDot or DashDotDot with the dimensions given.

.

Author
mario52
Links
Macros recipes
How to install macros
How to customize toolbars
Version
00.07
Date last modification
2017-05-13


Description

This macro convert the object line, wire in line Dash, DashDot, DashDotDot, ZigZag, Hand with the dimensions given.

ConvertLines Dash, Dash dot, Dash dot dot

Use

Copy the macro in your macros folder and launch FCConvertLines Gui

FCConvertLines Gui

First section :

Cut line (Checked by default)

FCConvertLines

Color


Second section :

Type line : Dash

FCConvertLines

Third section :

Type line : DashDot

FCConvertLines

Fourth section :

Type line : DashDotDot

FCConvertLines

Fifth section :

Type line : ZigZag

FCConvertLines

Sixth section :

Type line : Hand

FCConvertLines

Seventh section :

Options line :

FCConvertLines

This options are available for all menu

Eighth section :

Option Plane

This option are available only for "ZigZag" and "Hand"

FCConvertLines

Ninth section :

Button

FCConvertLines


The files to copy in your directory with the macro (10 files images)

The icon for the toolBar

Macro_FCConvertLines

Title

ConvertLines_Title

Line Dash :

ConvertLines_Dash

Line DashDot :

ConvertLines Dash dot

Line DashDotDot :

ConvertLines Dash dot dot

Line Zigzag :

ConvertLines_Zigzag

Line Hand :

ConvertLines_Hand

View :

ConvrtLines_View-front ConvrtLines_View-right ConvrtLines_View-right

Script

Copy the macro Macro_FCConvertLines.FCMacro in your macros folder

the script on Gist Macro_FCConvertLines.FCMacro

Examples

Example dot, dash dot, dash dot, dash dot dot

Macro FCConvertLines 11b.png

Example hand, zigzag

Macro FCConvertLines 11.png

Example hand

Macro FCConvertLines 012.png

All lines created the configuration specifications set in this Option lines

Example hand can make beautiful sine wave or totally anarchic

Macro FCConvertLines 013.png


Example convert ShapeString to sketch (the curves hare not authorized for convert Shape to Sketch)

ShapeString To Sketch.gif


Version

ver 00.07 13/05/2017 correct bug after create "Alternate ...." the dimension of lines stay with the dimension alternative and not restitution the desired dimensions

ver 00.06 20/02/2017 correction of precision cut (replace "numberOfPoints = longueur" to "numberOfPoints = (longueur + 1)")

ver 00.05 11/01/2017 replace de search method macro path

ver 00.04 05/09/2016 setPointSize(8.0)

ver 00.02 18/02/2016

ver 00.01 19/01/2016

ver 00.00 19/01/2016

Online version: "http://www.freecadweb.org/wiki/index.php?title=Macro_FC_Convert_Lines&oldid=240403"

Navigation menu