Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 16-01-2016, 17:51   #796
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: Ocpn-Draw and Boundary

jon...

No problem, better to get it right. Fresh .pot uploaded to crowdin.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 16-01-2016, 18:46   #797
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Ocpn-Draw and Boundary

Quote:
Taarnskov
I has happened a lot the latest days both in OD, Watchdog and OCPN that are connected to each others. I may be your OCPN and the plugins need to be updated. If you not build from source it could be worth to await a new OCPN beta release and plugins update. I think a new OCPN RC beta is ready soon.
Håkan
Hakan, true, but I believe T has version from 1-15. Will recompile again.
rgleason is offline   Reply With Quote
Old 16-01-2016, 20:29   #798
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Ocpn-Draw and Boundary

Quote:
Rick,
To use SVG within OD you need to ensure that OD_USE_SVG=ON in the cmake. You can do this by issuing "cmake -DOD_USE_SVG=ON .." from your OD build directory, then issue make. You will also need to ensure that OCPN is using SVG, i.e. compiled with OCPN_USE_SVG=ON as a cmake option. If you are using VC2013 you can tell it to build the project once you have run the cmake command. This will expect to find the lib files and will complain if it does not. At run time it will use the DLL's which should have been loaded by OCPN. I have cairo.lib, expat.lib and WXSVG.lib in the root of the build directory.

If you are debugging you should copy the *.svg & *.png files from the 'data' directory git to the 'vc2013 build directory'\plugins\ocpn_draw_pi\data. I am creating install packages, installing these and then running the OCPN. In this case the image files will all be in C:\Program Files\OpenCPN\plugins\ocpn_draw_pi\data.

You should notice that the SVG files are cleaner looking and if you cause them to scale they should still look OK. If you are not sure rename one of the SVG icons. In this case you will get a green jigsaw piece instead of the icon.

Jon
Little problem from before still.
11:12:48 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.1.1301\plugins\ocpn_draw_pi.dll
11:12:48 PM: Error: Failed to load shared library 'C:\Program Files (x86)\OpenCPN 4.1.1301\plugins\ocpn_draw_pi.dll' (error 126: the specified module could not be found.)
11:12:48 PM: PlugInManager: Cannot load library: C:\Program Files (x86)\OpenCPN 4.1.1301\plugins\ocpn_draw_pi.dll
11:12:48 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN 4.1.1301\plugins\watchdog_pi.dll
11:12:48 PM: C:\Program Files (x86)\OpenCPN 4.1.1301\plugins\watchdog_pi.dll
API Version detected: 110
PlugIn Version detected: 9121
rgleason is offline   Reply With Quote
Old 16-01-2016, 23:59   #799
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Ocpn-Draw and Boundary

Rick
I had before the same errors. It was solved by deleting OCPN \build contents and rebuilt cmake -T v120_xp .. Then as usual build twice in VS2013.
Håkan
Hakan is offline   Reply With Quote
Old 17-01-2016, 01:06   #800
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Ocpn-Draw and Boundary

Dave, Hakan, Jon,
Thanks for the new pot-file.

Jon,
What is the difference between a OCPN-Point and a OD-Point in the Draw plugin?
NAV is offline   Reply With Quote
Old 17-01-2016, 01:36   #801
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,150
Re: Ocpn-Draw and Boundary

For us translators, in order to get the correct nuance:
Please elaborate the impact and difference of the two controls in below picture
Thanks
Håkan
Attached Thumbnails
Click image for larger version

Name:	panning.PNG
Views:	133
Size:	4.1 KB
ID:	116861  
Hakan is offline   Reply With Quote
Old 17-01-2016, 02:26   #802
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,742
Re: Ocpn-Draw and Boundary

Håkan,

for the first point the edge sensitivity is generally smaller in order be able to draw the first point closer to the edge. Then for the next points when drawing a point outside of the canvas the standard distance is used.

Hubert
bcn is offline   Reply With Quote
Old 17-01-2016, 02:29   #803
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,742
Re: Ocpn-Draw and Boundary

Jon..

a typo in the pot file:
Code:
Use nearby Pointoint?
 
Context | Request Context
#: src/ocpn_draw_pi.cpp:2698
Shall that read OD Point or OCPN point?

Hubert
bcn is offline   Reply With Quote
Old 17-01-2016, 02:48   #804
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,742
Re: Ocpn-Draw and Boundary

Jon,

another small one:
Code:
Logitude
 
Context | Request Context
#: src/ODPointPropertiesDialog.cpp:78
bcn is offline   Reply With Quote
Old 17-01-2016, 02:52   #805
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,742
Re: Ocpn-Draw and Boundary

Jon...

shouldn't that be Transparency?

Code:
Background Density
 
Context | Request Context
#: src/ODPropertiesDialogDef.cpp:394
bcn is offline   Reply With Quote
Old 17-01-2016, 05:07   #806
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,989
Re: Ocpn-Draw and Boundary

Jongough,

There is two items :
- "Longitude" , I thing that is Ok
- and, a typo, "logitude" ????
Gilletarom is offline   Reply With Quote
Old 17-01-2016, 05:33   #807
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Ocpn-Draw and Boundary

What exactly is a 'Path' in OD? Please give a short description.
NAV is offline   Reply With Quote
Old 17-01-2016, 06:05   #808
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,634
Images: 2
Re: Ocpn-Draw and Boundary

Thanks Hakan
Quote:
I had before the same errors. It was solved by deleting OCPN \build contents and rebuilt cmake -T v120_xp .. Then as usual build twice in VS2013.Håkan
I made a separate tread. Compile O+OD for SVG Icons - Cruisers & Sailing Forums

ODraw compiled, but O newly compiled does not work. Missing svg files?

Should I delete OpenCPN build and start over?

Where do the SVG files go for Opencpn? 'uidata' instead of 'images"
rgleason is offline   Reply With Quote
Old 17-01-2016, 06:31   #809
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Ocpn-Draw and Boundary

For the following strings, the translations don't show when running OpenCPN and the plugin:
  • Persistent
  • Never (the Dutch 'Nooit' remains displayed instead of the more recent 'nooit')
  • Always (the Dutch 'Altijd' remains displayed instead of the more recent 'altijd')
  • Arrival radius (the Dutch 'Aankomstradius' remains displayed instead of the more recent 'Straal aankomstcirkel')


The following strings are not present in the pot-file:
  • 'General Drawing for OpenCPN'
  • 'Thanks to the community for their helpful suggestions'
NAV is offline   Reply With Quote
Old 17-01-2016, 07:08   #810
NAV
Registered User

Join Date: Sep 2010
Location: Netherlands
Posts: 424
Re: Ocpn-Draw and Boundary

Additionally, I cannot get the right translation to be showed on screen for the string 'Distance'. The Dutch word 'Verheid' (which is distance sailed or distance to sail) remains to be displayed, although in this case I translated 'Distance' using the more general expression 'afstand'.

I tried deactivating and activating the plugin, opening and closing OpenCPN and restarting the PC, but 'Verheid' remains extremely persistent.
NAV is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Rookie questions - boundary circles; exporting options; GPX files fredgmeyer OpenCPN 5 23-05-2014 22:22
Buoys out in Boundary Bay, BC Carogan Liveaboard's Forum 0 27-08-2012 06:41
For Sale: Cascade Designs Seal Line Boundary 70 Dry Bag thesparrow Classifieds Archive 0 14-03-2011 15:27
Current draw and insulation of portable fridges troppo Plumbing Systems and Fixtures 6 06-03-2011 09:00
amperage draw for Garmin radar and MFD janders Marine Electronics 8 16-12-2008 17:00

Advertise Here


All times are GMT -7. The time now is 19:04.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.