tighter twists

This commit is contained in:
Branislav Stojkovic
2019-02-02 20:49:04 +01:00
parent 024ede48a8
commit 36259bc83b
3 changed files with 2 additions and 2 deletions
@@ -213,7 +213,7 @@ public class TwistedWire extends AbstractCurvedComponent<Void> {
Stroke stroke = ObjectCache.getInstance().fetchBasicStroke(thickness);
double segmentLength = thickness * 7;
double segmentLength = thickness * 6;
// Convert to polygon
List<Line2D> polygon = new ArrayList<Line2D>();
@@ -229,7 +229,7 @@ public class TwistedWire extends AbstractCurvedComponent<Void> {
Path2D current1 = new Path2D.Double();
Path2D current2 = new Path2D.Double();
double offset = thickness * 1.5;
double rectSize = thickness * 4;
double rectSize = thickness * 3.5;
current1.moveTo(polygon.get(0).getX1(), polygon.get(0).getY1());
current2.moveTo(polygon.get(0).getX1(), polygon.get(0).getY1());
Binary file not shown.
Binary file not shown.