Added FilletPolyline docs

This commit is contained in:
gumyr 2023-06-28 14:46:54 -04:00
parent 83c0a53e92
commit 489fcb02f9
7 changed files with 106 additions and 26 deletions

View file

@ -29,7 +29,7 @@ Objects and arithmetic
:math:`B^2 := \lbrace` ``Sketch``, ``Rectangle``, ``Circle``, ``Ellipse``, ``Rectangle``, ``Polygon``, ``RegularPolygon``, ``Text``, ``Trapezoid``, ``SlotArc``, ``SlotCenterPoint``, ``SlotCenterToCenter``, ``SlotOverall`` :math:`\rbrace`
:math:`B^1 := \lbrace` ``Curve``, ``Bezier``, ``PolarLine``, ``Polyline``, ``Spline``, ``Helix``, ``CenterArc``, ``EllipticalCenterArc``, ``RadiusArc``, ``SagittaArc``, ``TangentArc``, ``ThreePointArc``, ``JernArc`` :math:`\rbrace`
:math:`B^1 := \lbrace` ``Curve``, ``Bezier``, ``FilletPolyline``, ``PolarLine``, ``Polyline``, ``Spline``, ``Helix``, ``CenterArc``, ``EllipticalCenterArc``, ``RadiusArc``, ``SagittaArc``, ``TangentArc``, ``ThreePointArc``, ``JernArc`` :math:`\rbrace`
with :math:`B^3 \subset C^3, B^2 \subset C^2` and :math:`B^1 \subset C^1`

View file

@ -5,7 +5,7 @@
width="220"
height="239"
>
<g transform="scale(100, -100) translate(1.1030011961758823,-1.239483872741735)" stroke-width="0.01" fill="none">
<g transform="scale(100, -100) translate(1.1030011961758825,-1.2394838727417354)" stroke-width="0.01" fill="none">
<!-- hidden lines -->
<g stroke="rgb(160,160,160)" fill="none" stroke-dasharray="0.01,0.01" >
@ -13,14 +13,14 @@
<!-- solid lines -->
<g stroke="rgb(0,0,0)" fill="none">
<path d="M0.40425531893390676,-0.9588917999870495 L0.3713534738716205,-0.9499334071634077 L0.35295851668393163,-0.9423906583969202 L0.33352726046088976,-0.9320685241396677 L0.31325449825425294,-0.91841424145091 L0.29233502311577925,-0.9008750473899066 L0.27096362809722685,-0.8788981790159174 L0.2493351062503537,-0.8519308733882017 L0.22764425062691798,-0.8194203675660194 L0.20608585427867776,-0.78081389860863 L0.18485471025739117,-0.7355587035752933 L0.16414561161481622,-0.6831020195252688 L0.14415335140271102,-0.6228910835178161 L0.1250727226728337,-0.554373132612195 L0.1070985184769423,-0.4769954038676651 L0.09042553186679558,-0.39020513434348914 " />
<path d="M0.09042553186679499,-0.39020513434348586 L0.1073730143523781,-0.41314593175410075 L0.12620901547475588,-0.4350892256184852 L0.16899725722393766,-0.47573027741878743 L0.21769162430242472,-0.5116222391648415 L0.2711934838983014,-0.5422590602770964 L0.328404203199652,-0.567134690176001 L0.3882251493945611,-0.5857430782820046 L0.4495576896711129,-0.5975781740155557 L0.511303191217392,-0.6021339267971035 L0.5419874797129555,-0.6015239087747666 L0.5723630212214824,-0.5989042860470971 L0.6022924866414835,-0.5942118022916514 L0.6316385468714689,-0.5873832011859853 L0.6602638728099495,-0.5783552264076552 L0.6880311353554356,-0.5670646216342171 L0.7148030054064379,-0.5534481305432271 L0.740442153861467,-0.5374424968122414 L0.7648112516190333,-0.5189844641188162 L0.7877729695776473,-0.4980107761405073 L0.8091899786358199,-0.4744581765548712 L0.8289249496920613,-0.44826340903946377 L0.8468405536448821,-0.4193632172718411 L0.862799461392793,-0.38769434492955956 L0.8766643438343042,-0.3531935356901752 L0.888297871867926,-0.3157975332312466 " />
<path d="M0.8882978718679267,-0.3157975332312439 L0.8965337220962587,-0.2784503516775834 L0.9013879649460703,-0.2421736617345117 L0.9030008514146273,-0.20701028306645225 L0.9015126324991954,-0.1730030353378286 L0.8970635591970407,-0.14019473821306433 L0.8897938825054289,-0.10862821135658302 L0.8798438534216257,-0.07834627443280812 L0.867353722942897,-0.04939174710616323 L0.8524637420665088,-0.021807449041071902 L0.8353141617897266,0.004363800098042325 L0.8160452331098165,0.029079180646755853 L0.7947972070240441,0.05229587294064514 L0.7717103345296754,0.07397105731528675 L0.7469248666239762,0.09406191410625697 L0.7205810543042123,0.11252562364913238 L0.6928191485676495,0.12931936627948942 L0.6637794004115536,0.1444003223329044 L0.6336020608331905,0.15772567214495403 L0.6024273808298259,0.16925259605121445 L0.5703956113987259,0.1789382743872624 L0.5376470035371559,0.18673988748867404 L0.504321808242382,0.19261461569102617 L0.47056027651167015,0.19651963932989497 L0.436502659342286,0.198412138740857 L0.40228920773149524,0.19824929425948862 L0.3680601726765639,0.19598828622136638 L0.33395580517475754,0.19158629496206675 L0.30011635622334243,0.18500050081716607 L0.2666820768195841,0.17618808412224085 L0.23379321796074837,0.16510622521286755 L0.2015900306441013,0.15171210442462268 L0.17021276586691048,0.13596290209308365 " />
<path d="M0.17021276586690814,0.13596290209308246 L0.19950980317886782,0.15679158711686605 L0.22749880514827195,0.18026827911556959 L0.25408724507553543,0.20617596024450097 L0.2791825962610731,0.2342976126589681 L0.3026923320053,0.26441621851427893 L0.32452392560863097,0.29631475996574136 L0.34458485037148084,0.3297762191686633 L0.36278257959426463,0.36458357827835275 L0.3790245865773972,0.4005198194501175 L0.39321834462129346,0.4373679248392657 L0.40527132702636837,0.474910876601105 L0.4150910070930367,0.5129316568909434 L0.4225848581217136,0.551213247864089 L0.42766035341281367,0.5895386316758495 L0.43022496626675205,0.627690790481533 L0.4301861699839436,0.6654527064364473 L0.42745143786480316,0.7026073616959003 L0.4219282432097457,0.7389377384152002 L0.41352405931918607,0.7742268187496544 L0.4021463594935393,0.8082575848545713 L0.38770261703322006,0.8408130188852586 L0.37010030523864357,0.8716761029970244 L0.3492468974102245,0.9006298193451764 L0.3250498668483779,0.9274571500850225 L0.2974166868535185,0.9519410773718711 L0.26625483072606143,0.9738645833610294 L0.23147177176642134,0.9930106502078057 L0.19297498327501342,1.009162260067508 L0.15067193855225242,1.0221023950954442 L0.10447011089855329,1.0316140374469223 L0.05427697361433101,1.03748016927725 L1.1102230246251565e-16,1.039483772741735 L-0.05427697361433062,1.0374801692772497 L-0.10447011089855301,1.031614037446922 L-0.1506719385522522,1.0221023950954442 L-0.1929749832750132,1.009162260067508 L-0.23147177176642114,0.9930106502078057 L-0.26625483072606115,0.9738645833610293 L-0.29741668685351824,0.9519410773718708 L-0.3250498668483776,0.9274571500850225 L-0.34924689741022424,0.9006298193451763 L-0.37010030523864335,0.8716761029970242 L-0.38770261703321984,0.8408130188852585 L-0.4021463594935391,0.8082575848545712 L-0.4135240593191859,0.7742268187496544 L-0.42192824320974553,0.7389377384152 L-0.427451437864803,0.7026073616959003 L-0.43018616998394343,0.6654527064364473 L-0.4302249662667519,0.6276907904815329 L-0.4276603534128136,0.5895386316758495 L-0.42258485812171337,0.551213247864089 L-0.41509100709303653,0.5129316568909434 L-0.4052713270263681,0.474910876601105 L-0.39321834462129346,0.43736792483926556 L-0.37902458657739707,0.4005198194501175 L-0.36278257959426446,0.36458357827835264 L-0.3445848503714806,0.3297762191686633 L-0.3245239256086308,0.2963147599657414 L-0.3026923320052999,0.264416218514279 L-0.2791825962610732,0.23429761265896798 L-0.25408724507553543,0.2061759602445009 L-0.22749880514827184,0.18026827911556964 L-0.19950980317886774,0.15679158711686592 L-0.1702127658669124,0.13596290209308504 " />
<path d="M-0.8882978718679265,-0.3157975332312439 L-0.8965337220962585,-0.2784503516775834 L-0.9013879649460701,-0.2421736617345117 L-0.903000851414627,-0.20701028306645225 L-0.9015126324991952,-0.1730030353378286 L-0.8970635591970405,-0.14019473821306433 L-0.8897938825054287,-0.10862821135658302 L-0.8798438534216255,-0.07834627443280812 L-0.8673537229428968,-0.04939174710616323 L-0.8524637420665085,-0.021807449041071902 L-0.8353141617897264,0.004363800098042325 L-0.8160452331098162,0.029079180646755853 L-0.7947972070240439,0.05229587294064514 L-0.7717103345296752,0.07397105731528675 L-0.746924866623976,0.09406191410625697 L-0.720581054304212,0.11252562364913238 L-0.6928191485676493,0.12931936627948942 L-0.6637794004115534,0.1444003223329044 L-0.6336020608331903,0.15772567214495403 L-0.6024273808298256,0.16925259605121445 L-0.5703956113987255,0.1789382743872624 L-0.5376470035371557,0.18673988748867404 L-0.5043218082423818,0.19261461569102617 L-0.4705602765116699,0.19651963932989497 L-0.4365026593422856,0.198412138740857 L-0.4022892077314948,0.19824929425948862 L-0.36806017267656344,0.19598828622136638 L-0.3339558051747573,0.19158629496206675 L-0.3001163562233422,0.18500050081716607 L-0.26668207681958367,0.17618808412224085 L-0.23379321796074803,0.16510622521286755 L-0.20159003064410064,0.15171210442462268 L-0.1702127658669098,0.13596290209308365 " />
<path d="M-0.09042553186679485,-0.39020513434348586 L-0.10737301435237796,-0.41314593175410075 L-0.12620901547475577,-0.4350892256184852 L-0.16899725722393755,-0.47573027741878743 L-0.21769162430242456,-0.5116222391648415 L-0.2711934838983012,-0.5422590602770964 L-0.32840420319965186,-0.567134690176001 L-0.388225149394561,-0.5857430782820046 L-0.4495576896711128,-0.5975781740155557 L-0.5113031912173918,-0.6021339267971035 L-0.5419874797129552,-0.6015239087747666 L-0.5723630212214822,-0.5989042860470971 L-0.6022924866414832,-0.5942118022916514 L-0.6316385468714686,-0.5873832011859853 L-0.6602638728099491,-0.5783552264076552 L-0.6880311353554354,-0.5670646216342171 L-0.7148030054064377,-0.5534481305432271 L-0.7404421538614667,-0.5374424968122414 L-0.764811251619033,-0.5189844641188162 L-0.7877729695776471,-0.4980107761405073 L-0.8091899786358197,-0.4744581765548712 L-0.828924949692061,-0.44826340903946377 L-0.8468405536448818,-0.4193632172718411 L-0.8627994613927926,-0.38769434492955956 L-0.8766643438343039,-0.3531935356901752 L-0.8882978718679257,-0.3157975332312466 " />
<path d="M-0.40425531893390665,-0.9588917999870495 L-0.3713534738716204,-0.9499334071634077 L-0.3529585166839315,-0.9423906583969202 L-0.33352726046088965,-0.9320685241396677 L-0.31325449825425283,-0.91841424145091 L-0.29233502311577914,-0.9008750473899066 L-0.27096362809722674,-0.8788981790159174 L-0.24933510625035357,-0.8519308733882017 L-0.22764425062691787,-0.8194203675660194 L-0.20608585427867765,-0.78081389860863 L-0.184854710257391,-0.7355587035752933 L-0.16414561161481606,-0.6831020195252688 L-0.1441533514027109,-0.6228910835178161 L-0.1250727226728336,-0.554373132612195 L-0.10709851847694218,-0.4769954038676651 L-0.09042553186679542,-0.39020513434348914 " />
<path d="M-0.40425531893390665,-0.9588917999870495 L0.40425531893390676,-0.9588917999870495 " />
<path d="M0.4042553189339068,-0.9588917999870494 L0.37135347387162054,-0.9499334071634076 L0.35295851668393174,-0.94239065839692 L0.3335272604608898,-0.9320685241396676 L0.313254498254253,-0.9184142414509099 L0.2923350231157793,-0.9008750473899065 L0.27096362809722685,-0.8788981790159173 L0.24933510625035374,-0.8519308733882016 L0.227644250626918,-0.8194203675660193 L0.20608585427867782,-0.7808138986086299 L0.18485471025739117,-0.7355587035752932 L0.16414561161481622,-0.6831020195252686 L0.14415335140271102,-0.622891083517816 L0.1250727226728337,-0.5543731326121948 L0.1070985184769423,-0.47699540386766487 L0.09042553186679558,-0.3902051343434888 " />
<path d="M0.09042553186679497,-0.39020513434348564 L0.1073730143523781,-0.4131459317541005 L0.12620901547475588,-0.435089225618485 L0.16899725722393769,-0.47573027741878726 L0.21769162430242472,-0.5116222391648413 L0.2711934838983014,-0.5422590602770962 L0.3284042031996521,-0.567134690176001 L0.38822514939456115,-0.5857430782820044 L0.4495576896711129,-0.5975781740155557 L0.511303191217392,-0.6021339267971035 L0.5419874797129556,-0.6015239087747665 L0.5723630212214825,-0.598904286047097 L0.6022924866414834,-0.5942118022916513 L0.6316385468714689,-0.5873832011859852 L0.6602638728099495,-0.5783552264076551 L0.6880311353554356,-0.567064621634217 L0.714803005406438,-0.5534481305432271 L0.740442153861467,-0.5374424968122414 L0.7648112516190333,-0.518984464118816 L0.7877729695776474,-0.49801077614050715 L0.8091899786358199,-0.474458176554871 L0.8289249496920614,-0.44826340903946366 L0.8468405536448822,-0.419363217271841 L0.862799461392793,-0.38769434492955934 L0.8766643438343042,-0.353193535690175 L0.8882978718679262,-0.3157975332312464 " />
<path d="M0.8882978718679267,-0.31579753323124365 L0.8965337220962587,-0.2784503516775832 L0.9013879649460703,-0.24217366173451144 L0.9030008514146273,-0.20701028306645197 L0.9015126324991954,-0.17300303533782832 L0.8970635591970407,-0.14019473821306405 L0.8897938825054289,-0.10862821135658268 L0.8798438534216257,-0.07834627443280778 L0.867353722942897,-0.0493917471061629 L0.8524637420665088,-0.021807449041071625 L0.8353141617897266,0.004363800098042658 L0.8160452331098165,0.02907918064675613 L0.7947972070240441,0.05229587294064547 L0.7717103345296754,0.07397105731528708 L0.7469248666239762,0.09406191410625736 L0.7205810543042123,0.11252562364913277 L0.6928191485676495,0.12931936627948976 L0.6637794004115536,0.14440032233290484 L0.6336020608331905,0.15772567214495437 L0.6024273808298258,0.1692525960512149 L0.5703956113987257,0.17893827438726279 L0.5376470035371559,0.18673988748867448 L0.504321808242382,0.1926146156910266 L0.4705602765116701,0.1965196393298954 L0.4365026593422858,0.19841213874085734 L0.402289207731495,0.19824929425948895 L0.36806017267656366,0.19598828622136683 L0.33395580517475754,0.19158629496206708 L0.30011635622334243,0.1850005008171664 L0.2666820768195839,0.1761880841222413 L0.23379321796074826,0.16510622521286789 L0.20159003064410086,0.15171210442462302 L0.17021276586691003,0.13596290209308398 " />
<path d="M0.17021276586690817,0.13596290209308273 L0.19950980317886785,0.15679158711686636 L0.22749880514827198,0.1802682791155699 L0.25408724507553543,0.20617596024450127 L0.27918259626107317,0.23429761265896842 L0.3026923320053,0.2644162185142792 L0.32452392560863097,0.2963147599657417 L0.34458485037148084,0.3297762191686636 L0.36278257959426463,0.3645835782783531 L0.37902458657739724,0.40051981945011783 L0.39321834462129346,0.437367924839266 L0.40527132702636837,0.4749108766011053 L0.4150910070930367,0.5129316568909438 L0.42258485812171354,0.5512132478640893 L0.4276603534128136,0.5895386316758499 L0.430224966266752,0.6276907904815333 L0.43018616998394354,0.6654527064364476 L0.4274514378648031,0.7026073616959007 L0.42192824320974565,0.7389377384152004 L0.413524059319186,0.7742268187496547 L0.40214635949353916,0.8082575848545717 L0.38770261703321995,0.8408130188852588 L0.37010030523864335,0.8716761029970246 L0.3492468974102243,0.9006298193451767 L0.32504986684837767,0.9274571500850229 L0.2974166868535183,0.9519410773718713 L0.26625483072606115,0.9738645833610297 L0.23147177176642117,0.9930106502078061 L0.19297498327501325,1.0091622600675085 L0.15067193855225222,1.0221023950954444 L0.1044701108985529,1.0316140374469227 L0.05427697361433059,1.0374801692772502 L0.0,1.0394837727417354 L-0.05427697361433073,1.0374801692772502 L-0.10447011089855313,1.0316140374469225 L-0.1506719385522523,1.0221023950954446 L-0.1929749832750133,1.0091622600675085 L-0.23147177176642125,0.9930106502078061 L-0.26625483072606126,0.9738645833610297 L-0.29741668685351835,0.9519410773718713 L-0.3250498668483777,0.9274571500850228 L-0.34924689741022436,0.9006298193451767 L-0.37010030523864346,0.8716761029970247 L-0.38770261703321995,0.840813018885259 L-0.4021463594935392,0.8082575848545717 L-0.413524059319186,0.7742268187496547 L-0.42192824320974565,0.7389377384152004 L-0.4274514378648031,0.7026073616959007 L-0.43018616998394354,0.6654527064364476 L-0.430224966266752,0.6276907904815333 L-0.4276603534128137,0.58953863167585 L-0.4225848581217135,0.5512132478640893 L-0.41509100709303665,0.5129316568909438 L-0.4052713270263682,0.4749108766011053 L-0.39321834462129357,0.437367924839266 L-0.3790245865773972,0.40051981945011783 L-0.3627825795942646,0.3645835782783531 L-0.34458485037148073,0.32977621916866373 L-0.3245239256086309,0.29631475996574186 L-0.3026923320053,0.2644162185142792 L-0.27918259626107333,0.23429761265896842 L-0.25408724507553554,0.20617596024450136 L-0.22749880514827195,0.18026827911556986 L-0.19950980317886785,0.15679158711686636 L-0.1702127658669125,0.13596290209308548 " />
<path d="M-0.8882978718679267,-0.31579753323124365 L-0.8965337220962587,-0.2784503516775832 L-0.9013879649460703,-0.24217366173451144 L-0.9030008514146273,-0.20701028306645197 L-0.9015126324991954,-0.17300303533782832 L-0.8970635591970407,-0.14019473821306405 L-0.8897938825054289,-0.10862821135658268 L-0.8798438534216256,-0.07834627443280778 L-0.867353722942897,-0.0493917471061629 L-0.8524637420665087,-0.021807449041071625 L-0.8353141617897266,0.004363800098042658 L-0.8160452331098165,0.02907918064675613 L-0.7947972070240441,0.05229587294064547 L-0.7717103345296754,0.07397105731528708 L-0.7469248666239762,0.09406191410625736 L-0.7205810543042123,0.11252562364913277 L-0.6928191485676494,0.12931936627948976 L-0.6637794004115536,0.14440032233290484 L-0.6336020608331905,0.15772567214495437 L-0.6024273808298258,0.1692525960512149 L-0.5703956113987257,0.17893827438726279 L-0.5376470035371559,0.18673988748867448 L-0.504321808242382,0.1926146156910266 L-0.4705602765116701,0.1965196393298954 L-0.4365026593422858,0.19841213874085734 L-0.402289207731495,0.19824929425948895 L-0.36806017267656366,0.19598828622136683 L-0.33395580517475754,0.19158629496206708 L-0.30011635622334243,0.1850005008171664 L-0.2666820768195841,0.1761880841222413 L-0.23379321796074826,0.16510622521286789 L-0.20159003064410108,0.15171210442462302 L-0.17021276586691025,0.13596290209308398 " />
<path d="M-0.09042553186679489,-0.39020513434348564 L-0.107373014352378,-0.4131459317541005 L-0.1262090154747558,-0.435089225618485 L-0.1689972572239376,-0.47573027741878726 L-0.21769162430242464,-0.5116222391648413 L-0.27119348389830134,-0.5422590602770962 L-0.328404203199652,-0.567134690176001 L-0.3882251493945611,-0.5857430782820044 L-0.44955768967111287,-0.5975781740155557 L-0.511303191217392,-0.6021339267971035 L-0.5419874797129555,-0.6015239087747665 L-0.5723630212214824,-0.598904286047097 L-0.6022924866414834,-0.5942118022916513 L-0.6316385468714689,-0.5873832011859852 L-0.6602638728099495,-0.5783552264076551 L-0.6880311353554356,-0.567064621634217 L-0.7148030054064379,-0.5534481305432271 L-0.7404421538614671,-0.5374424968122414 L-0.7648112516190334,-0.518984464118816 L-0.7877729695776475,-0.49801077614050715 L-0.80918997863582,-0.474458176554871 L-0.8289249496920613,-0.44826340903946366 L-0.8468405536448822,-0.419363217271841 L-0.8627994613927931,-0.38769434492955934 L-0.8766643438343044,-0.353193535690175 L-0.8882978718679261,-0.3157975332312464 " />
<path d="M-0.4042553189339067,-0.9588917999870494 L-0.37135347387162043,-0.9499334071634076 L-0.35295851668393163,-0.94239065839692 L-0.3335272604608897,-0.9320685241396676 L-0.3132544982542529,-0.9184142414509099 L-0.2923350231157792,-0.9008750473899065 L-0.27096362809722674,-0.8788981790159173 L-0.24933510625035363,-0.8519308733882016 L-0.2276442506269179,-0.8194203675660193 L-0.2060858542786777,-0.7808138986086299 L-0.18485471025739106,-0.7355587035752932 L-0.1641456116148161,-0.6831020195252686 L-0.1441533514027109,-0.622891083517816 L-0.1250727226728336,-0.5543731326121948 L-0.10709851847694218,-0.47699540386766487 L-0.09042553186679547,-0.3902051343434888 " />
<path d="M-0.4042553189339067,-0.9588917999870494 L0.4042553189339068,-0.9588917999870494 " />
</g>
</g>

Before

Width:  |  Height:  |  Size: 9.3 KiB

After

Width:  |  Height:  |  Size: 9.2 KiB

Before After
Before After

View file

@ -5,7 +5,7 @@
width="111"
height="240"
>
<g transform="scale(50, -50) translate(1.3281775885329017,-2.337954737925442)" stroke-width="0.02" fill="none">
<g transform="scale(50, -50) translate(1.3281775885329017,-2.3379547379254415)" stroke-width="0.02" fill="none">
<!-- hidden lines -->
<g stroke="rgb(160,160,160)" fill="none" stroke-dasharray="0.02,0.02" >
@ -13,28 +13,28 @@
<!-- solid lines -->
<g stroke="rgb(0,0,0)" fill="none">
<path d="M0.505673183149412,-2.069975036293059 L0.5039969623518693,-1.957668336651781 L0.4989723381219614,-1.8413864624145742 L0.49061141521956364,-1.7214095468015653 L0.47893433584027767,-1.5980266247112027 L0.4639692310911202,-1.4715349364098693 L0.4457521532202199,-1.3422392114540473 L0.4243269887637956,-1.2104509345701224 L0.3997453528196454,-1.0764875952603976 L0.3720664647018558,-0.9406719229430737 L0.341357005276287,-0.8033311094688103 L0.307690956320526,-0.6647960208869019 L0.2711494222953049,-0.5254004003599825 L0.23182043495675086,-0.38548006414751557 L0.18979874128017504,-0.2453720925950122 L0.14518557520630948,-0.10541401807794959 L0.09808841375987831,0.03405698814328023 L0.04862071812803004,0.17270492819847316 L-0.0030983396775995375,0.3101957870559109 L-0.05694416391670265,0.4461983371938283 L-0.11278703528235001,0.5803849365565278 L-0.17049242340616388,0.7124323178727864 L-0.22992131095375845,0.8420223674350277 L-0.2909305285296766,0.9688428914631099 L-0.3533730995850014,1.0925883682064828 L-0.4170985944967372,1.212960683972848 L-0.481953492965947,1.329669851310154 L-0.5477815538616009,1.44243470761177 L-0.6144241916191436,1.5509835924618298 L-0.6817208582870122,1.655055002088972 L-0.7495094303007122,1.7543982193518253 L-0.8176265990526842,1.8487739177385647 L-0.8859082643170388,1.937954737925434 " />
<path d="M0.5056731831494121,-2.0699750362930587 L0.5039969623518692,-1.9576683366517802 L0.4989723381219613,-1.8413864624145737 L0.4906114152195633,-1.7214095468015649 L0.47893433584027756,-1.5980266247112023 L0.46396923109111987,-1.4715349364098689 L0.44575215322021977,-1.3422392114540471 L0.4243269887637955,-1.2104509345701222 L0.3997453528196453,-1.0764875952603976 L0.37206646470185567,-0.9406719229430737 L0.3413570052762869,-0.8033311094688103 L0.3076909563205259,-0.6647960208869019 L0.2711494222953048,-0.5254004003599825 L0.23182043495675075,-0.3854800641475156 L0.1897987412801747,-0.24537209259501225 L0.14518557520630937,-0.10541401807794967 L0.09808841375987809,0.03405698814328012 L0.048620718128029816,0.17270492819847305 L-0.0030983396775997596,0.31019578705591067 L-0.05694416391670287,0.44619833719382807 L-0.11278703528235035,0.5803849365565277 L-0.170492423406164,0.7124323178727863 L-0.22992131095375867,0.8420223674350273 L-0.2909305285296768,0.9688428914631095 L-0.3533730995850015,1.0925883682064825 L-0.4170985944967374,1.2129606839728477 L-0.4819534929659472,1.3296698513101535 L-0.5477815538616011,1.4424347076117696 L-0.6144241916191439,1.5509835924618296 L-0.6817208582870123,1.6550550020889716 L-0.7495094303007124,1.7543982193518253 L-0.8176265990526844,1.8487739177385647 L-0.8859082643170391,1.9379547379254336 " />
<path d="M-0.8859082643170453,-0.307593589266717 L-0.42204778182822605,-0.8950540716088309 " />
<path d="M-0.8859082643170453,-0.307593589266717 L-0.8859082643170453,0.440922519797336 " />
<path d="M-0.8859082643170453,-0.307593589266717 L0.0,0.0 " />
<path d="M-0.42204778182822617,-0.8950540716088309 L-0.4303827748729471,-0.8823539542959896 L-0.43654342190600176,-0.8688988887328892 L-0.44524080595266713,-0.8407305105229235 " />
<path d="M-0.42204778182822617,-0.8950540716088309 L-0.4303827748729471,-0.8866423278375024 L-0.43654342190600176,-0.8844929743383904 L-0.4412545049312788,-0.8865185476874226 L-0.44524080595266713,-0.8906315844605269 " />
<path d="M-0.4220477818282261,-0.8950540716088309 L-0.43038277487294707,-0.8823539542959896 L-0.4365434219060017,-0.8688988887328892 L-0.4452408059526671,-0.8407305105229235 " />
<path d="M-0.4220477818282261,-0.8950540716088309 L-0.43038277487294707,-0.8866423278375024 L-0.4365434219060017,-0.8844929743383904 L-0.44125450493127877,-0.8865185476874226 L-0.4452408059526671,-0.8906315844605269 " />
<path d="M-0.8859082643170453,0.440922519797336 L-0.8872370313241748,0.4291554504693004 L-0.8907401443429704,0.4236507714134813 L-0.8956928213695438,0.42232101920580645 L-0.9013702804000059,0.4230787304222037 " />
<path d="M-0.8859082643170453,0.440922519797336 L-0.8845794973099158,0.4257897914558821 L-0.8810763842911201,0.4114120113646873 L-0.8704462482340847,0.3839146982660629 " />
<path d="M0.0,0.0 L-0.015918664124446924,-0.003382885536379912 L-0.02768463325990768,-0.0018152568618343412 L-0.036682139069377666,0.0030527146199948803 L-0.04429541321585225,0.009570857505465907 " />
<path d="M0.0,0.0 L-0.015918664124446924,-0.007671259077892719 L-0.02768463325990768,-0.017409342467335456 L-0.04429541321585225,-0.04033021643213759 " />
<path d="M-0.3507292326455702,-0.9171675294160722 L-0.3792565768205072,-0.9474696100467798 " />
<path d="M-0.3507292326455701,-0.9171675294160722 L-0.37925657682050706,-0.9474696100467798 " />
<path d="M-0.3792565768205072,-0.9474696100467798 L-0.34933780219435456,-1.0553469023381903 " />
<path d="M-0.3493378021943545,-1.0553469023381903 L-0.3626737910659081,-1.0384574134708544 " />
<path d="M-0.36267379106590814,-1.0384574134708544 L-0.38575054807722525,-0.9523442908179239 " />
<path d="M-0.3857505480772253,-0.952344290817924 L-0.40894357220166627,-0.9798586128184802 " />
<path d="M-0.4089435722016662,-0.9798586128184801 L-0.42204778182822617,-0.9632626629616896 " />
<path d="M-0.42204778182822617,-0.9632626629616896 L-0.3921286297114465,-0.9311676772770989 " />
<path d="M-0.39212862971144646,-0.931167677277099 L-0.42019241539639623,-0.8291952265700278 " />
<path d="M-0.4201924153963963,-0.8291952265700278 L-0.40708820576983634,-0.8457911764268182 " />
<path d="M-0.4070882057698364,-0.8457911764268181 L-0.3854028792097349,-0.9267735427149721 " />
<path d="M-0.3854028792097349,-0.9267735427149723 L-0.3636012855365096,-0.9008655966463914 " />
<path d="M-0.3636012855365096,-0.9008655966463913 L-0.35072923264557027,-0.917167529416072 " />
<path d="M-0.362673791065908,-1.0384574134708544 L-0.38575054807722514,-0.9523442908179239 " />
<path d="M-0.3857505480772252,-0.952344290817924 L-0.40894357220166616,-0.9798586128184802 " />
<path d="M-0.40894357220166616,-0.9798586128184801 L-0.4220477818282261,-0.9632626629616896 " />
<path d="M-0.4220477818282261,-0.9632626629616896 L-0.39212862971144646,-0.9311676772770989 " />
<path d="M-0.3921286297114464,-0.931167677277099 L-0.4201924153963962,-0.8291952265700278 " />
<path d="M-0.42019241539639623,-0.8291952265700278 L-0.4070882057698363,-0.8457911764268182 " />
<path d="M-0.40708820576983634,-0.8457911764268181 L-0.38540287920973487,-0.9267735427149721 " />
<path d="M-0.3854028792097348,-0.9267735427149723 L-0.3636012855365095,-0.9008655966463914 " />
<path d="M-0.3636012855365095,-0.9008655966463913 L-0.35072923264557015,-0.917167529416072 " />
<path d="M-0.9281775885329017,0.6157147573843816 L-0.8768048891010142,0.4993798424346853 " />
<path d="M-0.8768048891010141,0.49937984243468536 L-0.8436389401011889,0.45737651356253706 " />
<path d="M-0.8436389401011889,0.45737651356253717 L-0.8436389401011889,0.43997327036921036 " />

Before

Width:  |  Height:  |  Size: 6.3 KiB

After

Width:  |  Height:  |  Size: 6.3 KiB

Before After
Before After

View file

@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
width="321"
height="245"
>
<g transform="scale(50, -50) translate(3.4173847793716825,-3.401002182643657)" stroke-width="0.02" fill="none">
<!-- hidden lines -->
<g stroke="rgb(160,160,160)" fill="none" stroke-dasharray="0.02,0.02" >
</g>
<!-- solid lines -->
<g stroke="rgb(0,0,0)" fill="none">
<path d="M-2.7709189595071715,-0.4436898664333311 L1.5766329033850681,3.0010021826436573 " />
<path d="M-0.5294695850188916,0.07834881233691557 L2.4900874828501967,-0.6612487076938894 " />
<path d="M2.4900874828501958,-0.6612487076938892 L2.5436929332859854,-0.6763061556659846 L2.5831235981482625,-0.6917326099495374 L2.597428510557425,-0.6995487998219211 L2.608089127303822,-0.7074144768967672 L2.615085814319981,-0.7153151546543866 L2.618405685538593,-0.7232362821129876 L2.6180426266252774,-0.7311632706277786 L2.613997306239583,-0.7390815207594359 L2.6062771748034974,-0.7469764491624513 L2.5948964507797143,-0.7548335154438404 L2.5612437694865036,-0.7703762753815959 L2.5132870659547013,-0.7855953505010621 L2.45137947232923,-0.8003786742037263 L2.3759768489948536,-0.8146173885735154 L2.2876344278201115,-0.8282066459587756 L2.1870027236732006,-0.8410463810244241 L1.951920533945775,-0.8641053148223876 L1.6776417020019831,-0.8831162567437113 " />
<path d="M1.6776417020019676,-0.8831162567437123 L-2.021405104409073,-1.0963395836453436 " />
<path d="M-2.021405104409073,-1.0963395836453433 L-2.183145897058713,-1.1023120458144386 L-2.334207523099387,-1.1009997482373153 L-2.405274613844835,-1.0976130221919567 L-2.4731351764936402,-1.0924153290570162 L-2.5376257290065,-1.0854191905305204 L-2.5985909079937057,-1.0766414609229686 L-2.6558838429991565,-1.0661032865538238 L-2.7093665103241573,-1.0538300548081765 L-2.7589100655385934,-1.03985133297631 L-2.8043951538784513,-1.0242007970235083 L-2.8457121977818955,-1.006916150461707 L-2.8827616608712168,-0.9880390335184304 L-2.9154542877446845,-0.9676149228218343 L-2.9437113190006237,-0.9456930218435278 L-2.9674646809757155,-0.9223261423630992 L-2.986657149740413,-0.897570577239914 L-3.001242488956401,-0.8714859647986853 L-3.0111855612639826,-0.8441351451555257 L-3.016462412931059,-0.815584008830605 L-3.017060331559766,-0.7859013380121145 L-3.012977876711756,-0.7551586408539506 L-3.004224883378339,-0.7234299792063091 L-2.9908224382871262,-0.6907917901942021 L-2.972802829102258,-0.6573227020737274 L-2.950209466640593,-0.6231033448097132 L-2.9230967802912446,-0.5882161558310699 L-2.8915300868904206,-0.5527451814318042 L-2.8555854333674384,-0.5167758742961341 L-2.815349413541016,-0.48039488763548893 L-2.7709189595071804,-0.4436898664333382 " />
<path d="M-0.5294695850188916,0.07834881233691557 L-1.377798506216279,0.029448778260277662 " />
<path d="M-0.5294695850188916,0.07834881233691557 L-0.5294695850188916,1.074074803899202 " />
<path d="M-0.5294695850188916,0.07834881233691557 L0.0,0.0 " />
<path d="M-1.377798506216279,0.02944877826027767 L-1.3625550959135133,0.03317979082758839 L-1.3512882274288605,0.04134905007061309 L-1.3353820601564095,0.06508464634951906 " />
<path d="M-1.377798506216279,0.02944877826027767 L-1.3625550959135133,0.02747511066759612 L-1.3512882274288605,0.020604758579732117 L-1.3426723868229495,0.010469950161746476 L-1.3353820601564095,-0.0012970864212999353 " />
<path d="M-0.5294695850188916,1.074074803899202 L-0.527039476130045,1.0563229307109325 L-0.5206328254230855,1.0434677420178455 L-0.5115751468373843,1.0338770096548802 L-0.501191954312312,1.0259185054569757 " />
<path d="M-0.5294695850188916,1.074074803899202 L-0.5318996939077383,1.056042774265702 L-0.5383063446146977,1.0424489913079156 L-0.5577472157254711,1.0226585031851998 " />
<path d="M0.0,0.0 L-0.009513906605808194,0.0042601703016750874 L-0.016545924531840357,0.012820546130969099 L-0.02647347925094455,0.03710830700225528 " />
<path d="M0.0,0.0 L-0.009513906605808194,-0.0014445098583171793 L-0.016545924531840357,-0.007923745359911874 L-0.02647347925094455,-0.02927342576856373 " />
<path d="M-1.5082290778503773,0.11266601003449658 L-1.4560569872711067,0.027302672420066953 " />
<path d="M-1.4560569872711064,0.027302672420066974 L-1.510773788465232,-0.06895189817675748 " />
<path d="M-1.5107737884652321,-0.06895189817675748 L-1.4863843319808072,-0.06754602219705413 " />
<path d="M-1.486384331980807,-0.06754602219705413 L-1.4441805204487117,0.010562060085809968 " />
<path d="M-1.444180520448712,0.010562060085809968 L-1.4017640743888427,-0.0626682756338692 " />
<path d="M-1.4017640743888424,-0.06266827563386917 L-1.377798506216279,-0.06128683375322431 " />
<path d="M-1.377798506216279,-0.06128683375322433 L-1.432515997782248,0.02865964040670374 " />
<path d="M-1.432515997782248,0.028659640406703754 L-1.3811916838267,0.11998879809646303 " />
<path d="M-1.3811916838266995,0.11998879809646303 L-1.405157251999263,0.11860735621581817 " />
<path d="M-1.4051572519992632,0.11860735621581817 L-1.4448163529165037,0.045127049208788975 " />
<path d="M-1.4448163529165037,0.045127049208789 L-1.4846880883615183,0.1140229780211334 " />
<path d="M-1.4846880883615183,0.11402297802113337 L-1.508229077850377,0.11266601003449658 " />
<path d="M-0.4521655430375954,1.2398387582465755 L-0.5461182472089434,1.1662156710678142 " />
<path d="M-0.5461182472089434,1.1662156710678142 L-0.6067736270001879,1.1627193265903246 " />
<path d="M-0.6067736270001879,1.1627193265903246 L-0.6067736270001879,1.1395683731569468 " />
<path d="M-0.6067736270001879,1.139568373156947 L-0.5461182472089434,1.1430647176344366 " />
<path d="M-0.5461182472089434,1.1430647176344366 L-0.4521655430375954,1.0785308234839308 " />
<path d="M-0.4521655430375954,1.0785308234839306 L-0.4521655430375954,1.1071579457413463 " />
<path d="M-0.4521655430375954,1.1071579457413463 L-0.5274547347938635,1.1560895703304044 " />
<path d="M-0.5274547347938635,1.1560895703304044 L-0.4521655430375954,1.212206713721613 " />
<path d="M-0.4521655430375954,1.212206713721613 L-0.4521655430375954,1.2398387582465755 " />
<path d="M0.09649591804638324,-0.07638716839463125 L0.09649591804638323,0.05430186799791886 " />
<path d="M0.09649591804638324,0.05430186799791882 L0.08537697058429625,0.05594720580907939 " />
<path d="M0.08537697058429627,0.0559472058090794 L0.010853954139506738,-0.041559954689727424 " />
<path d="M0.010853954139506738,-0.04155995468972738 L0.010853954139506721,0.06747236551589755 " />
<path d="M0.010853954139506738,0.06747236551589755 L-1.734723475976807e-18,0.06907849066463363 " />
<path d="M0.0,0.06907849066463363 L1.0612041397712254e-17,0.0 " />
<path d="M1.0612041397712254e-17,0.0 L2.122408279542451e-17,-0.06907849066463363 " />
<path d="M0.0,-0.06907849066463365 L0.01085395413950674,-0.07068461581336972 " />
<path d="M0.01085395413950685,-0.07068461581336974 L0.08564153302342528,0.02728093464966587 " />
<path d="M0.08564153302342514,0.027280934649665897 L0.08564153302342516,-0.07478097948546847 " />
<path d="M0.08564153302342514,-0.07478097948546847 L0.09649591804638322,-0.07638716839463126 " />
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.2 KiB

View file

@ -13,8 +13,8 @@
<!-- solid lines -->
<g stroke="rgb(0,0,0)" fill="none">
<path d="M-0.3721042037676253,-0.3490163809066864 L-0.12403473458920836,0.32848600555923446 " />
<path d="M-0.12403473458920833,0.3284860055592346 L0.6201736729460425,-0.30795563021178196 " />
<path d="M-0.3721042037676253,-0.3490163809066864 L-0.12403473458920836,0.32848600555923446 " />
<path d="M-0.8682431421244592,-0.3695467562541387 L-0.3721042037676253,-1.0162535796988812 " />
<path d="M-0.8682431421244592,-0.3695467562541387 L-0.8682431421244592,0.2976904425380562 " />
<path d="M-0.8682431421244592,-0.3695467562541387 L1.1102230246251565e-16,5.551115123125783e-17 " />

Before

Width:  |  Height:  |  Size: 5.2 KiB

After

Width:  |  Height:  |  Size: 5.2 KiB

Before After
Before After

View file

@ -96,6 +96,13 @@ The following objects all can be used in BuildLine contexts. Note that
+++
Elliptical arc defined by center, radii & angles
.. grid-item-card:: :class:`~objects_curve.FilletPolyline`
.. image:: assets/filletpolyline_example.svg
+++
Polyline with filleted corners defined by pts and radius
.. grid-item-card:: :class:`~objects_curve.Helix`
.. image:: assets/helix_example.svg
@ -175,6 +182,7 @@ Reference
.. autoclass:: Bezier
.. autoclass:: CenterArc
.. autoclass:: EllipticalCenterArc
.. autoclass:: FilletPolyline
.. autoclass:: Helix
.. autoclass:: JernArc
.. autoclass:: Line

View file

@ -134,6 +134,12 @@ polyline.line.export_svg(
"assets/polyline_example.svg", (0, 0, 1), (0, 1, 0), svg_opts=svg_opts2
)
with BuildLine(Plane.YZ) as filletpolyline:
FilletPolyline((0, 0, 0), (0, 10, 2), (0, 10, 10), (5, 20, 10), radius=2)
filletpolyline.line.export_svg(
"assets/filletpolyline_example.svg", (0, 0, 1), (0, 1, 0), svg_opts=svg_opts2
)
with BuildLine() as radius_arc:
RadiusArc((1, 1), (3, 3), 2)
radius_arc.line.export_svg(