Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- In foo.svg:
- <ns0:svg xmlns:ns0="http://www.w3.org/2000/svg" xmlns:ns1="http://www.w3.org/1999/xlink" height="594mm" id="root" version="1.1" width="841mm">
- <ns0:defs />
- <ns0:svg version="1.1" x="150mm" y="50mm">
- <ns0:use ns1:href="Camera-1.svg#root" />
- </ns0:svg>
- </ns0:svg>
- Then, in Camera-1.svg:
- <?xml version="1.0" encoding="utf-8" ?>
- <svg baseProfile="full" height="57.01824367046356mm" id="root" version="1.1" viewBox="0 0 101.36576652526855 57.01824367046356" width="101.36576652526855mm" xmlns="http://www.w3.org/2000/svg" xmlns:ev="http://www.w3.org/2001/xml-events" xmlns:xlink="http://www.w3.org/1999/xlink">
- <defs>
- <style type="text/css">
- <![CDATA[.cut { fill: red; stroke: black; stroke-linecap: 'round'; stroke-width: 0.3px; }
- .background { fill: white; stroke: black; stroke-linecap: 'round'; stroke-width: 0.05px; }
- .annotation { stroke: blue; stroke-linecap: 'round'; stroke-width: 0.05px; }
- ]]> </style>
- <marker id="dimension-marker" markerHeight="20" markerWidth="20" orient="auto" refX="7.5" refY="10">
- <path class="annotation" d="M 7.5 0 L 7.5 20" style="stroke-width:2px;"/>
- <path class="annotation" d="M 0 0 L 15 20" style="stroke-width:3px;"/>
- </marker>
- </defs>
- <polygon class="cut IfcActuator material-Material globalid-1i8vwtyw50X9xUvs1JXWUl" points="40.68288326263428,38.50912094116211 40.68288326263428,18.50912094116211 60.68288326263428,18.50912094116211 60.68288326263428,38.50912094116211"/>
- <line class="annotation dimension" marker-end="url(#dimension-marker)" marker-start="url(#dimension-marker)" x1="67.6005630493164" x2="67.6005630493164" y1="38.50912094116211" y2="28.50912094116211"/>
- <text font-size="0.2mm" x="67.6005630493164" y="33.50912094116211">1000</text>
- <line class="annotation dimension" marker-end="url(#dimension-marker)" marker-start="url(#dimension-marker)" x1="67.6005630493164" x2="67.6005630493164" y1="28.50912094116211" y2="18.509122848510742"/>
- <text font-size="0.2mm" x="67.6005630493164" y="23.50912094116211">1000</text>
- <line class="annotation dimension" marker-end="url(#dimension-marker)" marker-start="url(#dimension-marker)" x1="20.682884216308594" x2="8.182883262634277" y1="28.50912094116211" y2="28.50912094116211"/>
- <text font-size="0.2mm" x="14.432883262634277" y="28.50912094116211">1250</text>
- <line class="annotation dimension" marker-end="url(#dimension-marker)" marker-start="url(#dimension-marker)" x1="38.935245513916016" x2="38.935245513916016" y1="18.509122848510742" y2="38.50912094116211"/>
- <text font-size="0.2mm" x="38.935245513916016" y="28.50912094116211">2000</text>
- <line class="annotation dimension" marker-end="url(#dimension-marker)" marker-start="url(#dimension-marker)" x1="40.682884216308594" x2="60.682884216308594" y1="16.595041275024414" y2="16.595041275024414"/>
- <text font-size="0.2mm" x="50.682884216308594" y="16.595041275024414">2000</text>
- </svg>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement