Skip to content

Commit

Permalink
fix in load fp line color
Browse files Browse the repository at this point in the history
  • Loading branch information
easyw committed May 20, 2023
1 parent 0534245 commit f3227c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions InitGui.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@
#* Kicad STEPUP (TM) is a TradeMark and cannot be freely usable *
#* *

ksu_wb_version='v 10.19.3'
ksu_wb_version='v 10.19.4'
global myurlKWB, ksuWBpath
myurlKWB='https://github.com/easyw/kicadStepUpMod'
global mycommitsKWB
mycommitsKWB=602 # v10.19.3
mycommitsKWB=603 # v10.19.4
global verKSU
verKSU="10.8.7"

Expand Down
6 changes: 3 additions & 3 deletions fps.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#****************************************************************************

global fps_version
fps_version = '1.0.9'
fps_version = '1.1.0'

dvp=False #True
if dvp:
Expand Down Expand Up @@ -445,14 +445,14 @@ def addfootprint(fname = None):
zn = doc.ActiveObject
zn.Label = 'keepout-Zones'
zn.ViewObject.DrawStyle = u"Dashed"
zn.ViewObject.LineColor = (255,0,127)
zn.ViewObject.LineColor = (255.0,0.0,127.0)
import Draft
if ar!=0:
zn.Placement.Rotation.Angle = radians(ar)
zone_keepout = Draft.makeSketch(zn,autoconstraints=True)
zone_keepout.Label = 'keepout-Zones_'
zone_keepout.ViewObject.DrawStyle = u"Dashed"
zone_keepout.ViewObject.LineColor = (255,0,127)
zone_keepout.ViewObject.LineColor = (255.0,0.0,127.0)
doc.removeObject(zn.Name)
tbassembled.append(zone_keepout)
#stop
Expand Down
2 changes: 1 addition & 1 deletion package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package format="1" xmlns="https://wiki.freecad.org/Package_Metadata">
<name>KicadStepUp Workbench</name>
<description>A bidirectional ECAD/MCAD collaboration between KiCAD and FreeCAD.</description>
<version>10.19.3</version>
<version>10.19.4</version>
<maintainer email="[email protected]">Maui</maintainer>
<license file="LICENSE">AGPLv3.0</license>
<url type="repository" branch="master">https://github.com/easyw/kicadStepUpMod</url>
Expand Down

0 comments on commit f3227c2

Please sign in to comment.