Do-It-Yourself Layout Creator [open-source]  [link]

Digital tools for electronic work: software for pcb design, schematic drawing, circuit simulation, parts inventory tools, ...
User avatar
sinner
Old Solderhand
Information
Posts: 4710
Joined: 06 Nov 2008, 17:16
Location: ...no more
Has thanked: 1031 times
Been thanked: 907 times

Post by sinner »

DrNomis wrote:I can't see how adding text could cause a bit of software to crash, strange, maybe it's got something to do with the memory issue.... :hmmm:

So far, I haven't experienced any crashes....(hope I didn't speak too soon)...... :thumbsup
It's fine in Windows, I just added more text than anything else and it still not crashes :)

User avatar
DrNomis
Old Solderhand
Information
Posts: 6801
Joined: 16 Jul 2009, 04:56
my favorite amplifier: Self-Built Valve Amp Head :)
Completed builds: Dallas Arbiter Fuzz Face,Tone Bender Professional Mk 3,Tone Bender 3-Knob,Baja BK Butler Tube Driver,Baja Real Tube Overdrive,Roger Mayer Octavia,EH Soul Preacher,Tech 21 XXL Distortion,MFOS Weird Sound Generator.
Location: Darwin,Northern Territory Australia
Has thanked: 98 times
Been thanked: 274 times

Post by DrNomis »

A good sign, I'm running Windows 7 Home Premium, sometimes you can run into problems running certain bits of software on a PC with a multi-core CPU, some recently released PC games like Battlefield 3 seem to have issues with multi-core CPUs, but I haven't had any problems so far, the latest DIYLC runs like a dream.... :thumbsup

I'll have to expand the components library in my installation of DIYLC soon, would be cool to have components like the LM317T and LM337T adjustable regulators, which reminds me, I need to do a layout for a new breadboard power supply project that I would like to contribute to FSB.... :thumbsup
Genius is not all about 99% perspiration, and 1% inspiration - sometimes the solution is staring you right in the face.-Frequencycentral.

User avatar
bancika
Resistor Ronker
Information
Posts: 279
Joined: 02 Jan 2008, 02:24
Has thanked: 16 times
Been thanked: 88 times

Post by bancika »

does anyone of you have the java log file? not the one from logs directory, but from DIYLC root?

there seems to be a problem with mac and java http://lists.apple.com/archives/java-de ... 00015.html
even some other apps suffer, like PDFBox https://issues.apache.org/jira/browse/PDFBOX-488

cheers
The new version of DIY Layout Creator is out, check it out - https://github.com/bancika/diy-layout-creator
Check out my site with DIY gutars, amps and pedals http://diy-fever.com

User avatar
Dr Tony Balls
Diode Debunker
Information
Posts: 834
Joined: 07 May 2009, 14:29
my favorite amplifier: Sunn Model T
Location: Brooklyn, NY
Has thanked: 4 times
Been thanked: 170 times

Post by Dr Tony Balls »

bancika wrote:does anyone of you have the java log file? not the one from logs directory, but from DIYLC root?

There isnt one! In DIYLC folder I have this:

Code: Select all

autoSave.diy
c/\saved.png
config.xml
diylc.exe
diylc.jar
diylc.l4j.ini
lib (folder)
library (folder)
log (folder)
run.sh
templates (folder)
themes (folder)
And then in the Log folder there are a bunch of log files but they arent error logs. File names are all like this:

Code: Select all

log-Wed May 30 12.56.57 EDT 2012.log

User avatar
bancika
Resistor Ronker
Information
Posts: 279
Joined: 02 Jan 2008, 02:24
Has thanked: 16 times
Been thanked: 88 times

Post by bancika »

hmm, looks like on mac they put JVM logs in another dir, here's what I found
It creates a hs_err_pid*.log file (this comes from "HotSpot error" log). About the location of the file:

you can specify it by starting the java process with JVM param -XX:ErrorFile=some_path
if you don't specify it, the location is not very deterministic; the JVM prints something on STDOUT (usually the main error message), and the details are written to hs_err_pid.log file in the current directory, in the current user's temp directory (if no there are no write permissions for the current directory) or simply at stdout
The new version of DIY Layout Creator is out, check it out - https://github.com/bancika/diy-layout-creator
Check out my site with DIY gutars, amps and pedals http://diy-fever.com

User avatar
sinner
Old Solderhand
Information
Posts: 4710
Joined: 06 Nov 2008, 17:16
Location: ...no more
Has thanked: 1031 times
Been thanked: 907 times

Post by sinner »

bancika wrote: I'm working on preparation that will allow porting to other platforms. Android will be the next one to tackle
Any news with Android? 8)

User avatar
bancika
Resistor Ronker
Information
Posts: 279
Joined: 02 Jan 2008, 02:24
Has thanked: 16 times
Been thanked: 88 times

Post by bancika »

unfortunately, I haven't done anything at all for the last 2-3 months. To many errands and work doesn't leave time for that :(
The new version of DIY Layout Creator is out, check it out - https://github.com/bancika/diy-layout-creator
Check out my site with DIY gutars, amps and pedals http://diy-fever.com

User avatar
LaceSensor
Cap Cooler
Information
Posts: 584
Joined: 02 Jan 2011, 12:01
Has thanked: 57 times
Been thanked: 277 times

Post by LaceSensor »

anyone got a Rotary 3p4t preferably as a component that I can put in my copy of DIY lc somehow?

thanks!

User avatar
sinner
Old Solderhand
Information
Posts: 4710
Joined: 06 Nov 2008, 17:16
Location: ...no more
Has thanked: 1031 times
Been thanked: 907 times

Post by sinner »

I just downloaded new version Bancika.

Two issues came to mind after few minutes.

- right click-rotate function does not work
- copper tracks can't be placed

User avatar
bancika
Resistor Ronker
Information
Posts: 279
Joined: 02 Jan 2008, 02:24
Has thanked: 16 times
Been thanked: 88 times

Post by bancika »

Can someone with Mac give the new version a test drive? It should perform faster but more importantly, it shouldn't crash after 3min, at least I hope so.

Here's the link http://diy-layout-creator.googlecode.co ... 0-beta.zip

Besides performance/reliability update, there are some usability improvements

[New Feature] Move selected components with arrow keys (and ctrl/shift)
[Improvement] Right-click in the toolbar to select all components of the same type
[Improvement] Click on a component in the toolbar sometimes doesn't register
[Improvement] Remove junk from BOM (eyelets, wires, traces)
[Improvement] Improved "Recently Used" toolbox, doesn't jump as you click
[Improvement] Control number of "Recently Used" items from config.properties
[Improvement] Faster component placement, auto-focus on "Value" box
[Improvement] Transistors can show name or value
[Improvement] UNICODE font export to PDF files
[Improvement] More intuitive unsaved file warning message

Thanks

Sinner, can you get the 3.10.0? I tried rotation and traces and both work. Rotation only applies to rotateable one-click components, like IC, trannies, pots...
The new version of DIY Layout Creator is out, check it out - https://github.com/bancika/diy-layout-creator
Check out my site with DIY gutars, amps and pedals http://diy-fever.com

User avatar
grrrunge
Diode Debunker
Information
Posts: 797
Joined: 20 Mar 2010, 10:51
Completed builds: Loads!
Location: Copenhagen, Denmark
Has thanked: 50 times
Been thanked: 203 times
Contact:

Post by grrrunge »

bancika wrote:Can someone with Mac give the new version a test drive? It should perform faster but more importantly, it shouldn't crash after 3min, at least I hope so.
I'm on it ;) fingers crossed...
A true believer in the magic of Sherwood Forest Pedal Pirates
---
New base of operations: http://www.knucklehead.dk

User avatar
grrrunge
Diode Debunker
Information
Posts: 797
Joined: 20 Mar 2010, 10:51
Completed builds: Loads!
Location: Copenhagen, Denmark
Has thanked: 50 times
Been thanked: 203 times
Contact:

Post by grrrunge »

Banchika, you can add this to the above list:
[major improvement] diylc.jar loads directly under Mac OS X

The previous version had to be loaded via a shell script ;)
A true believer in the magic of Sherwood Forest Pedal Pirates
---
New base of operations: http://www.knucklehead.dk

User avatar
bancika
Resistor Ronker
Information
Posts: 279
Joined: 02 Jan 2008, 02:24
Has thanked: 16 times
Been thanked: 88 times

Post by bancika »

it does? :) I still think you should use the script because it sets memory limit to 2GB, when you run jar directly it's only 64m and will slow down soon.
tnx
The new version of DIY Layout Creator is out, check it out - https://github.com/bancika/diy-layout-creator
Check out my site with DIY gutars, amps and pedals http://diy-fever.com

User avatar
grrrunge
Diode Debunker
Information
Posts: 797
Joined: 20 Mar 2010, 10:51
Completed builds: Loads!
Location: Copenhagen, Denmark
Has thanked: 50 times
Been thanked: 203 times
Contact:

Post by grrrunge »

and another one:
[bugfix] placing images in a project no longer causes DIYLC to crash when running under OS X
A true believer in the magic of Sherwood Forest Pedal Pirates
---
New base of operations: http://www.knucklehead.dk

User avatar
bancika
Resistor Ronker
Information
Posts: 279
Joined: 02 Jan 2008, 02:24
Has thanked: 16 times
Been thanked: 88 times

Post by bancika »

actually, that's the reason I asked people to try, I made a major change that should prevent it from crashing. Many people complained and I couldn't figure out what was the problem until today. Here's the issue page http://code.google.com/p/diy-layout-cre ... tail?id=20
If it works fine now I'm a very happy camper :)
The new version of DIY Layout Creator is out, check it out - https://github.com/bancika/diy-layout-creator
Check out my site with DIY gutars, amps and pedals http://diy-fever.com

User avatar
Dr Tony Balls
Diode Debunker
Information
Posts: 834
Joined: 07 May 2009, 14:29
my favorite amplifier: Sunn Model T
Location: Brooklyn, NY
Has thanked: 4 times
Been thanked: 170 times

Post by Dr Tony Balls »

Ill check it out on my mac later today, but ive never had to load it via shell script before. It always opened up direct.

My problems before were that text caused it to crash! As long as I didnt add any text it work fine all day, but if text was there it would start crashing. I got good at just making the drawing in DIYLC, and popping the image into photoshop to annotate.

User avatar
bancika
Resistor Ronker
Information
Posts: 279
Joined: 02 Jan 2008, 02:24
Has thanked: 16 times
Been thanked: 88 times

Post by bancika »

I managed to crash 3.10.0 on Mac the same way (open diylc, create a bunch of components and copy-paste them 10s of times before it crashes). So I got rid of cloning library completely and switched to my own implementation. 3.11.0 is out.
PS now you can place images and labels in any z-order spot on the layout, so it's easier to draw over a photo of a board or pcb scan or something.
Cheers
The new version of DIY Layout Creator is out, check it out - https://github.com/bancika/diy-layout-creator
Check out my site with DIY gutars, amps and pedals http://diy-fever.com

User avatar
sinner
Old Solderhand
Information
Posts: 4710
Joined: 06 Nov 2008, 17:16
Location: ...no more
Has thanked: 1031 times
Been thanked: 907 times

Post by sinner »

I got the issue 10, so far I love it, I'll try to do some solid work with it today if time let me.

I have some ideas for you, but that's just silly things, small improvements I don't wan't to be PITA with.

Also, I was thinking to do small tutorial on my website about what I have learned using your DIYLC if you don't mind

Anyway, it rocks with current verson so far, and as always - I'm greatful you exist ;)

Cheers

User avatar
sinner
Old Solderhand
Information
Posts: 4710
Joined: 06 Nov 2008, 17:16
Location: ...no more
Has thanked: 1031 times
Been thanked: 907 times

Post by sinner »

bancika wrote:PS now you can place images and labels in any z-order spot on the layout, so it's easier to draw over a photo of a board or pcb scan or something.
Cheers

I'm trying to set the image backward with no succes. This makes things difficoult to me when trying to do the repro layout (all components and traces are under the image and it's inpossible to edit/move/rotate/whatever them without moving image)

User avatar
bancika
Resistor Ronker
Information
Posts: 279
Joined: 02 Jan 2008, 02:24
Has thanked: 16 times
Been thanked: 88 times

Post by bancika »

did you get 3.11? you can't set the image back in 3.10
The new version of DIY Layout Creator is out, check it out - https://github.com/bancika/diy-layout-creator
Check out my site with DIY gutars, amps and pedals http://diy-fever.com

Post Reply