rv8ch
 
 
  Joined: 10 Jan 2006 Posts: 250 Location: Switzerland
  | 
		
			
				 Posted: Sat Nov 17, 2018 6:12 am    Post subject: draw.io shapes | 
				     | 
			 
			
				
  | 
			 
			
				Hi,
 
 Has anyone already added to the draw.io program shape library with some shapes like Bob's?  Should not take too long, but if I can save a couple hours of work it would be great.  The format for doing the shapes is pretty easy.
 https://support.draw.io/display/DO/Editing+Shapes
 
 Here's my battery that looks like the one in Z diagrams:
 <shape aspect="variable" h="60" name="Multicell Battery" strokewidth="inherit" w="100">
   <connections>
     <constraint name="in" perimeter="0" x="0" y="0.5"/>
     <constraint name="out" perimeter="0" x="1" y="0.5"/>
   </connections>
   <foreground>
     <path>
       <move x="0" y="30"/>
       <line x="20" y="30"/>
       <move x="34" y="0"/>
       <line x="34" y="60"/>
       <move x="80" y="30"/>
       <line x="100" y="30"/>
       <move x="80" y="0"/>
       <line x="80" y="60"/>
       <move x="56" y="0"/>
       <line x="56" y="60"/>
     </path>
     <fillstroke/>
     <rect h="30" w="4" x="20" y="15"/>
     <fillstroke/>
     <rect h="30" w="4" x="43" y="15"/>
     <fillstroke/>
     <rect h="30" w="4" x="66" y="15"/>
     <fillstroke/>
   </foreground>
 </shape>
 
 I just took the one they had and made it a three-cell instead of two.
 Thanks,
 Mickey
 Mickey Coggins
 
  |  | - The Matronics AeroElectric-List Email Forum - |  |   |  Use the List Feature Navigator to browse the many List utilities available such as the Email Subscriptions page, Archive Search & Download, 7-Day Browse, Chat, FAQ, Photoshare, and much more:
 
  http://www.matronics.com/Navigator?AeroElectric-List |  
  |  
 
 
 
 
  _________________ Mickey Coggins
 
http://www.rv8.ch/ | 
			 
		  |