diff --git a/examples/circular.py b/examples/circular.py index 21168368..adabd036 100644 --- a/examples/circular.py +++ b/examples/circular.py @@ -3,12 +3,12 @@ import dataclasses def create_design(): - helices = [sc.Helix(max_offset=30) for _ in range(2)] + helices = [sc.Helix(max_offset=24) for _ in range(2)] design = sc.Design(helices=helices, grid=sc.square) - design.strand(0,0).move(10).cross(1).move(-10).as_circular() - design.strand(0,10).move(10).loopout(1, 5).move(-10).as_circular() - design.strand(0,20).move(10).cross(1).move(-10) + design.strand(0,0).move(8).cross(1).move(-8).as_circular() + design.strand(0,8).move(8).loopout(1, 5).move(-8).as_circular() + design.strand(0,16).move(8).cross(1).move(-8) return design diff --git a/examples/output_designs/circular.sc b/examples/output_designs/circular.sc index 82f0bd44..5c4019cd 100644 --- a/examples/output_designs/circular.sc +++ b/examples/output_designs/circular.sc @@ -1,5 +1,5 @@ { - "version": "0.13.0", + "version": "0.13.1", "grid": "square", "helices": [ {"grid_position": [0, 0]}, @@ -10,24 +10,24 @@ "circular": true, "color": "#f74308", "domains": [ - {"helix": 0, "forward": true, "start": 0, "end": 10}, - {"helix": 1, "forward": false, "start": 0, "end": 10} + {"helix": 0, "forward": true, "start": 0, "end": 8}, + {"helix": 1, "forward": false, "start": 0, "end": 8} ] }, { "circular": true, "color": "#57bb00", "domains": [ - {"helix": 0, "forward": true, "start": 10, "end": 20}, + {"helix": 0, "forward": true, "start": 8, "end": 16}, {"loopout": 5}, - {"helix": 1, "forward": false, "start": 10, "end": 20} + {"helix": 1, "forward": false, "start": 8, "end": 16} ] }, { "color": "#888888", "domains": [ - {"helix": 0, "forward": true, "start": 20, "end": 30}, - {"helix": 1, "forward": false, "start": 20, "end": 30} + {"helix": 0, "forward": true, "start": 16, "end": 24}, + {"helix": 1, "forward": false, "start": 16, "end": 24} ] } ]