DIY Layout Creator - software for easy drawing PCB, vero and perfboard layouts

Started by bancika, May 01, 2006, 08:00:21 PM

Previous topic - Next topic

scaesic

Quote from: bancika on December 05, 2007, 01:19:58 PM
I see, can you post the contents of file it saved?
Also, try to run it from the console so you can see the output, maybe there's an exception.
go to command prompt, change folder to diylc and type

java -jar DIYLC.jar

when you open file from DIYLC go back to command prompt and grab the output from there.
Tnx
contents of file looks ok
Quote<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<layout credits="Credits" formatVersion="2.0" projectName="New Project">
<component name="Enclosure">
<properties>
<property dataType="text" name="Name" value="Enclosure"/>
</properties>
<points>
<point x="304" y="128"/>
<point x="944" y="608"/>
</points>
</component>
<component name="Wire">
<properties>
<property dataType="text" name="Name" value="D"/>
<property dataType="text" name="Thickness" value="0.8*mm"/>
<property dataType="text" name="Color" value="00FF00"/>
</properties>
<points>
<point x="320" y="320"/>
<point x="400" y="480"/>
<point x="480" y="400"/>
<point x="560" y="480"/>
</points>
</component>
<component name="Electrolytic (Axial)">
<properties>
<property dataType="text" name="Name" value="C"/>
<property dataType="text" name="Value" value="10uF"/>
<property dataType="text" name="Diameter" value="6*mm"/>
<property dataType="text" name="Length" value="15*mm"/>
</properties>
<points>
<point x="480" y="240"/>
<point x="640" y="400"/>
</points>
</component>
<component name="Electrolytic (Radial)">
<properties>
<property dataType="text" name="Name" value="C"/>
<property dataType="text" name="Value" value="10uF"/>
<property dataType="text" name="Diameter" value="8*mm"/>
<property dataType="text" name="Distance" value="5*mm"/>
</properties>
<points>
<point x="768" y="192"/>
<point x="928" y="352"/>
</points>
</component>
<component name="Resistor">
<properties>
<property dataType="text" name="Name" value="R"/>
<property dataType="text" name="Value" value="10"/>
<property dataType="text" name="Length" value="7*mm"/>
<property dataType="text" name="Diameter" value="2.5*mm"/>
</properties>
<points>
<point x="608" y="256"/>
<point x="768" y="416"/>
</points>
</component>
<component name="Capacitor">
<properties>
<property dataType="text" name="Name" value="C"/>
<property dataType="text" name="Value" value="10"/>
<property dataType="text" name="Length" value="4*mm"/>
<property dataType="text" name="Distance" value="1.5*mm"/>
</properties>
<points>
<point x="656" y="416"/>
<point x="816" y="576"/>
</points>
</component>
</layout>

heres the command prompt error when i open the file.

Quotejava.net.MalformedURLException: unknown protocol: cScreen rendered in 16 millise
conds.

scaesic

infact heres what comes up when it starts diylc, just in case you need that too

Quote
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
        at diylc.FrameMain.paintBuffer(FrameMain.java:276)
        at diylc.FrameMain.paint(FrameMain.java:339)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
        at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
        at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknow
n Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Screen rendered in 62 milliseconds.
Screen rendered in 15 milliseconds.
Screen rendered in 31 milliseconds.

bancika

The new version of DIY Layout Creator is out, check it out here


scaesic

Quote from: bancika on December 05, 2007, 02:18:45 PM
that's helpful, I'll try to figure it out. thanks!

awesome,

funnily enough iv never used the cmd prompt to do something like that in windows. i did it all the time in uni on linux systems in java classes, but it never ocurred to me that it would work in windows too.

bancika

can you PM your mail so I can send you updated version to try...I think I fixed it.
The new version of DIY Layout Creator is out, check it out here


bancika

cool, it seems to work. Few cool new features will be available tonight, don't change the channel  :icon_lol:
The new version of DIY Layout Creator is out, check it out here


ezanker

Good News (for me anyway   ::) )
I upgraded my java to jre1.6.0_03, and now my flickering problem is gone.  Before I was using version jre1.5.0_14.
Erik

bancika

The new version of DIY Layout Creator is out, check it out here


bancika

I'll have to postpone new alpha for tomorrow, I added some very nice stuff that required major reorganization, it's almost done now...
take care
The new version of DIY Layout Creator is out, check it out here


bancika

Here's new alpha
http://www.storm-software.co.yu/diylc/diylc_alpha.zip
few more components added, things should be little faster now, you can set page size, export to PNG file (no printing yet), save/load and stuff like that. Note that you can scroll work area and in the bottom right corner there is project info written.
cheers
The new version of DIY Layout Creator is out, check it out here


scaesic

I have one major issue.

Save/Open works now, but when you re-open a file the resistors disapear leaving only the blue circles which indicate the end points.

*edit* unfortunately cmd doesnt report any exceptions for this. And also, i havn't checked ALL components for this kind of behaviour.

One minor issue, if you import a picture it'd be useful if you could only select it with right click? or have a click box in the item properties to enable such a feature, this is so if you are using it as a background picture then you dont keep accidentally selecting it when moving components around.  might be a useful feature for the enclosures and boards too.
png export works here.

Also, i know you still have issues with the boards and have mentioned this before, but just for the purposes of feedback, it is much slower with perfboard on screen than without.

bancika

yeah, don't use boards yet :)

edit: I fixed the problem with resistors (and diodes)
The new version of DIY Layout Creator is out, check it out here


nokaster

Quote from: bancika on December 06, 2007, 11:33:43 AM
yeah, don't use boards yet :)

edit: I fixed the problem with resistors (and diodes)


again thx for all the work you're putting into this!
still works great on my mac!

bancika

check this out, scrollable rulers in both cm and inches (that small button in the corner toggles it)

The new version of DIY Layout Creator is out, check it out here


nokaster

Quote from: bancika on December 06, 2007, 04:43:45 PM
check this out, scrollable rulers in both cm and inches (that small button in the corner toggles it)


it just gets better and better...  :P

scaesic

Quote from: bancika on December 06, 2007, 04:43:45 PM
check this out, scrollable rulers in both cm and inches (that small button in the corner toggles it)



awesome, is there a way to measure accurately or is it just as a guide?

nisios

it must be from the fact that im super tyred but i was trying your alpha and i didnt find a way to make copper traces :icon_eek:
havent you managed to put that in or im i just plain stupid? :icon_biggrin:

nisios

by the way....this software is getting better and better and walking in the way to become the best electronic layouts|schematic software ever!!!! with stylish components too!

s.r.v.

this is really cool! i can almost use it, except there are no traces for the perf board. Can you add that next?

bancika

still no copper traces in that version, but it will be, soon. Boards are also unusable...hold on :)

scaesic: these (green) rulers are just for reference, I plan to add a component that will measure distance between any two points...

btw, thanks for encouraging comments!
The new version of DIY Layout Creator is out, check it out here