benardt / JScad2d

Javascript Library for CAD 2D drawing from json file
Apache License 2.0
42 stars 9 forks source link

how to get it to work? #5

Closed tekknow closed 6 years ago

tekknow commented 6 years ago

I downloaded project and launched index.htm. I loaded file from examples folder. When I click Example button it says "This site says... Already exist!" If I click the Debug button a new window pops up that says "Drawing not loaded". What am I missing?

benardt commented 6 years ago

Hello,

Thanks to evaluate JScad2d.

What is your internet browser (name and version)? Normally work fine with Firefox and Chrome.

Have a nice day,

TB

2018-02-14 1:33 GMT+01:00 tekknow notifications@github.com:

I downloaded project and launched index.htm. I loaded file from examples folder. When I click Example button it says "This site says... Already exist!" If I click the Debug button a new window pops up that says "Drawing not loaded". Sure would love to try it out but seems unusable.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/benardt/JScad2d/issues/5, or mute the thread https://github.com/notifications/unsubscribe-auth/AIQioHLk-Yh-pC-_sqno2NbBcksMJpl7ks5tUinBgaJpZM4SEn4J .

tekknow commented 6 years ago

Google Chrome is up to date Version 64.0.3282.167 (Official Build) (64-bit)

benardt commented 6 years ago

Do you authorize popup window? To allow to draw big part with double screen computer (more comfortable), we use popup to have drawing in one window in one screen and ui in anther window in another screen.

If by clicking Example button, site says "Already exists!" then the part is already loaded. Try browser refresh button to start with no part.

I continue to investigate...

Have a nice day,

TB

tekknow commented 6 years ago

It is working now after I figured out how to allow popups. But the dimension values are so tiny they cannot be read unless you zoom way in. Is there a way to make the dimension text stay the same size regardless of the zoom level?

benardt commented 6 years ago

Sorry, this functionality is not coded. We have to discuss internally to keep or not this new functionality.

For the time being, it is possible to change font size inside Format option:

V Format
          font_size: 12

Change 12 by other value (24 for instance) to increase the font size.