Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LiciaHe/threadPlotter
/ functions
Functions
144 in github.com/LiciaHe/threadPlotter
⨍
Functions
144
◇
Types & classes
9
Method
getPathString
(self)
threadPlotter/threadPlotter/TP_structure/PathList.py:153
Function
getPointFromComplex
(complex)
threadPlotter/threadPlotter/TP_utils/basic.py:59
Function
getPunchNeedleReadyDot
required boundaryRect Rule: 1) min/max distance is controlled 2) try to reduce duplication :param pathPoint: :param boundaryRect:
threadPlotter/threadPlotter/TP_utils/fillPath.py:58
Function
getRandomHex
()
threadPlotter/threadPlotter/TP_utils/basic.py:10
Method
getSaveName
(self, additionalTag="")
threadPlotter/threadPlotter/DirectAuthoringGenerator.py:124
Method
halftone
(self,x_units,y_units,pixelization_length,pixels)
threadPlotter/threadPlotter/TP_punchneedle/GridImgConverter.py:46
Method
isClosed
(self)
threadPlotter/threadPlotter/TP_structure/PathList.py:105
Method
isSelfIntersecting
Determine if a path is self intersecting using https://algs4.cs.princeton.edu/91primitives/ :return:
threadPlotter/threadPlotter/TP_structure/PathList.py:97
Function
linearScale
d3 linearScale :param input: :param domainArr: :param rangeArr: :return:
threadPlotter/threadPlotter/TP_utils/basic.py:34
Function
load_object
(fileName)
threadPlotter/threadPlotter/TP_utils/basic.py:47
Function
makeBasicSvgWithFoundations
SHORTER VERSION, WITHOUT TOOLPAD :param basicsettings: :return:
threadPlotter/threadPlotter/TP_utils/svg.py:77
Function
makeClipper
:param subjs: :param clip: window to be used for the cut :param clipperTypeStr: :param s_fill_key: :param c_fill_key: :param
threadPlotter/threadPlotter/TP_utils/clipperHelper.py:40
Function
makeConnectedDot
converted from "convertPathsToConnectedDots" create punch needle points by keep spliting line.Will check minimal distance :param path
threadPlotter/threadPlotter/TP_punchneedle/embroideryCalculation.py:6
Function
makeOffset
http://www.angusj.com/delphi/clipper/documentation/Docs/Units/ClipperLib/Types/EndType.htm http://www.angusj.com/delphi/clipper/documentation
threadPlotter/threadPlotter/TP_utils/clipperHelper.py:21
Function
makeRectPoints
(x,y,w,h,closed=False)
threadPlotter/threadPlotter/TP_utils/shapeEditing.py:109
Function
makeTinyDot_pathPoints
(startPt,innerDist=1)
threadPlotter/threadPlotter/TP_utils/fillPath.py:41
Function
makeUniformPolygon
(x, y, r, sideCt,closed=False)
threadPlotter/threadPlotter/TP_utils/shapeEditing.py:114
Function
mkdir
(path)
threadPlotter/threadPlotter/TP_utils/basic.py:18
Method
offset
:param dist: :return:
threadPlotter/threadPlotter/TP_structure/PathList.py:183
Function
pickRandomThreadColor
(ct)
threadPlotter/threadPlotter/TP_punchneedle/threadColorManagement.py:59
Function
pickThreadColor
:param colors: a list of rgb tuple :param additional: decide whether to load additional info :return:plainColor,mixedColor,colorList
threadPlotter/threadPlotter/TP_punchneedle/threadColorManagement.py:25
Function
pointEquals
(p1,p2)
threadPlotter/threadPlotter/TP_utils/basic.py:64
Function
ptToInchStr
(pt,i2p,precision=None)
threadPlotter/threadPlotter/TP_utils/shapeEditing.py:7
Function
ptToInchStrWithTranslate
(pt,i2p,xtrans,ytrans)
threadPlotter/threadPlotter/TP_utils/shapeEditing.py:11
Method
restore
(self)
threadPlotter/threadPlotter/TP_structure/PunchGroup.py:96
Function
rgbToHex
(r,g,b)
threadPlotter/threadPlotter/TP_utils/basic.py:6
Function
rgbToString
(rgb)
threadPlotter/threadPlotter/TP_punchneedle/threadColorManagement.py:22
Method
rotate
(self,degree)
threadPlotter/threadPlotter/TP_structure/PathList.py:163
Method
rotate
(self,angle,inPlace=False)
threadPlotter/threadPlotter/TP_structure/Point.py:44
Method
rotateAroundCenter
(self,degree)
threadPlotter/threadPlotter/TP_structure/PathList.py:172
Method
rotateAroundPoint
Rotate a point counterclockwise by a given angle around a given origin. The angle should be given in radians.
threadPlotter/threadPlotter/TP_structure/Point.py:54
Function
roundPoint
(point)
threadPlotter/threadPlotter/TP_utils/shapeEditing.py:13
Method
roundPt
(self,digit=2)
threadPlotter/threadPlotter/TP_structure/Point.py:39
Method
saveFiles
(self)
threadPlotter/threadPlotter/DirectAuthoringGenerator.py:179
Function
saveSVG
(baseSoup,fileName=None,saveLoc=None,postTag=None,repList=None,fullPath=None)
threadPlotter/threadPlotter/TP_utils/svg.py:18
Function
save_object
(obj, filename)
threadPlotter/threadPlotter/TP_utils/basic.py:53
Method
scalePath
(self,scaleFactor)
threadPlotter/threadPlotter/TP_structure/PathList.py:175
Method
scalePathAccordingToCenter
(self,center,scaleX,scaleY)
threadPlotter/threadPlotter/TP_structure/PathList.py:179
Method
scalePoints
ASSUME SCALING FROM CENTER :param points: :param scaleFactor: :return:
threadPlotter/threadPlotter/TP_structure/Point.py:70
Function
splitSingleLine
return strings :param start_end: :param unitLength: :return:
threadPlotter/threadPlotter/TP_utils/shapeEditing.py:58
Method
translate
(self,tx,ty,inplace=False)
threadPlotter/threadPlotter/TP_structure/Point.py:92
Function
uniformFromRange
(arr)
threadPlotter/threadPlotter/TP_utils/basic.py:8
Method
withinBoundaryLimit
(self,xmin,xmax,ymin,ymax)
threadPlotter/threadPlotter/TP_structure/PathList.py:115
Method
withinSizeLimit
return true if the width and height :param wh: :return:
threadPlotter/threadPlotter/TP_structure/PathList.py:107
← previous
101–144 of 144, ranked by callers