CamBam
News:
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 26, 2017, 06:23:30 am


Login with username, password and session length


Pages: [1] 2 3 ... 5
  Print  
Author Topic: ArcText plugin  (Read 35189 times)
Hans_G
Storm Trooper
***
Offline Offline

Posts: 109



View Profile
« on: June 27, 2008, 19:59:53 pm »

I'm familiar with DeskEngrave.  I made a plugin so that I could get the same functionality right inside of CamBam.  While not a big deal, I also like that it doesn't break the text into lots of small lines.  This one is built w/ the free version (remove the .txt extension), but source is attached if someone wants to build a Plus version.


* Screenshot.JPG (88.42 KB, 893x679 - viewed 1314 times.)
* ArcText.zip (8.93 KB - downloaded 1004 times.)
* ArcText.dll.txt (24 KB - downloaded 849 times.)
« Last Edit: June 27, 2008, 20:05:12 pm by Hans_G » Logged
10bulls
Administrator
CNC Jedi
*****
Offline Offline

Posts: 2035


Coding Jedi


View Profile WWW
« Reply #1 on: June 28, 2008, 00:12:09 am »

Another fantastic plugin!  Thanks Hans!

I have recompiled your source for CamBam plus if anyone would like to use it.

 


* This plugin is cool.png (53.35 KB, 834x722 - viewed 1268 times.)
* ArcText.dll.txt (24 KB - downloaded 700 times.)
Logged
davek
Droid
**
Offline Offline

Posts: 88


View Profile
« Reply #2 on: June 29, 2008, 21:11:28 pm »

What have I done wrong?



* error.JPG (57.4 KB, 1024x742 - viewed 877 times.)
Logged
lazer
Storm Trooper
***
Offline Offline

Posts: 201



View Profile
« Reply #3 on: June 30, 2008, 02:18:16 am »

here this the right  Grin
in the Cambam+ it lacks CADFileView  Cry


* amor.JPG (78.46 KB, 1024x768 - viewed 859 times.)
* Arc_Text.zip (5.43 KB - downloaded 547 times.)
* Arc_Text-Src.zip (172.33 KB - downloaded 619 times.)
« Last Edit: June 30, 2008, 02:40:28 am by lazer » Logged

lazer = leisure -- Sorry my English
Miguel-
CNC Ewok
*
Offline Offline

Posts: 10


View Profile
« Reply #4 on: June 30, 2008, 08:45:23 am »

Hi.

Im having troubles with this plugin.. Cambam(free and plus) informs that the .dll is expected to include ?assembly catalog? (or something like that -my computer speaks that in finnish and Im not quite sure that what it is in english) -the description is: HRESULT-exception 0x80131018

Im running on Vista with latest .net...
Logged

Sign here ________________
10bulls
Administrator
CNC Jedi
*****
Offline Offline

Posts: 2035


Coding Jedi


View Profile WWW
« Reply #5 on: July 02, 2008, 10:29:05 am »

I have done a bit of investigation into this...

In the ArcText project, under the project properties, Build tab, then the advanced button,
there is an option that says 'Debug Info'.  In the release build, this was set to pdb-only which I gather was confusing things.  I set this to 'none' and recompiled for both plus and free versions and seems to work OK for me now.  The plugin was working OK on the machine that it was compiled on, but not on other machines.

Fingers crossed, these builds should work.  Thanks again Hans!




* ArcText_plus.dll.txt (24 KB - downloaded 627 times.)
* ArcText_free.dll.txt (24 KB - downloaded 472 times.)
Logged
EAC
Storm Trooper
***
Offline Offline

Posts: 179



View Profile WWW
« Reply #6 on: July 05, 2008, 17:10:58 pm »

Still getting the 'expected to contain assemby' error with the new version on plus...  Downloaded a couple of times to be sure.

Don
Logged

Miguel-
CNC Ewok
*
Offline Offline

Posts: 10


View Profile
« Reply #7 on: July 05, 2008, 22:15:55 pm »

Same error also on free version Shocked
Logged

Sign here ________________
lazer
Storm Trooper
***
Offline Offline

Posts: 201



View Profile
« Reply #8 on: July 06, 2008, 04:16:14 am »

Hi Andy
Put in http://www.cambam.co.uk/docs/scripting-objects.html  scripting-objects the CamBam plus.

The example: in Arc_Text-Src.zip
CamBam free
CamBamUI.MainUI.CADFileView.CADFile.Add(r);
CamBamUI.MainUI.CADFileView.CADFile.RemovePrimitive(r);

CamBam plus
CamBamUI.MainUI.ActiveView.CADFile.Add(r);
CamBamUI.MainUI.ActiveView.CADFile.RemovePrimitive(r);

We are going to give merit to the CamBam plus  Wink Smiley Cheesy

* Arc_Text_Plus-src.zip (243.8 KB - downloaded 646 times.)
* Arc_Text_plus.zip (5.43 KB - downloaded 639 times.)
Logged

lazer = leisure -- Sorry my English
Hans_G
Storm Trooper
***
Offline Offline

Posts: 109



View Profile
« Reply #9 on: July 06, 2008, 05:19:56 am »

Well darn, I was hoping there wouldn't be any problems.  Only a narcissist uses "hope" and "software" in the same sentence.

Folks that have had problems... is your CamBam installed at C:\Program Files\CamBam\  or somewhere else (i.e. D:\Program Files\CamBam, or C:\Best Program Files Ever\CamBam)?
Logged
10bulls
Administrator
CNC Jedi
*****
Offline Offline

Posts: 2035


Coding Jedi


View Profile WWW
« Reply #10 on: July 06, 2008, 23:12:11 pm »

Ah Ha!

I think I see the problem!!!

I think the DLLs were OK, but when you rename them as .txt and upload them, I gather the linux web server does some carriage return conversions which corrupts the .DLL

Thanks to lazer as he was the only one to sensibly zip up his dlls which worked OK.

Logged
RTChoke
CNC Ewok
*
Offline Offline

Posts: 34


View Profile
« Reply #11 on: September 09, 2008, 22:14:23 pm »

OK I am either dense or forgetful, but tell me how to put this thing into CamBam (free version)?  I download the .zip, then what?  I unpacked it and did not see any sort of .dll in any of the subdirectories, except for cambamsomething.dll
Logged

I think we're all Bozos on this bus
10bulls
Administrator
CNC Jedi
*****
Offline Offline

Posts: 2035


Coding Jedi


View Profile WWW
« Reply #12 on: September 10, 2008, 09:12:43 am »

I'm getting a bit confused with this thread myself!  Shocked

To help reduce the confusion of which version is which (or possibly add to it depending on your point of view),
I have attached a zipped copy of the ArcText plugin for the CamBam free version.

Unzip the ArcText_free.dll in this zip file to the "...\Program File\CamBam\plugins\" folder.
When you restart CamBam, you should see "Arc Text Plugin" menu appear under the Plugins top menu.


* ArcText_free.zip (5.15 KB - downloaded 751 times.)
Logged
RTChoke
CNC Ewok
*
Offline Offline

Posts: 34


View Profile
« Reply #13 on: September 10, 2008, 15:46:51 pm »

OK that worked.  Those other zipped files did not generate the .dll when I downloaded them.  There was a bunch of other stuff in there, but no arctext.dll (or whatever).

Thanks for doing that!  I'll give it a try.
Logged

I think we're all Bozos on this bus
RTChoke
CNC Ewok
*
Offline Offline

Posts: 34


View Profile
« Reply #14 on: September 10, 2008, 19:38:44 pm »

Great plug-in -- I am doing a design at this moment.  It is much easier to do it right in CamBam than to have to paste it in. 

One little hint -- if you select a negative radius, it puts the text underneath, right side up.  Y'all probably know that already, but I discovered that trick in DeskEngrave when I kept trying stuff trying to figure out how to do that.

Thanks again!

--R
Logged

I think we're all Bozos on this bus
Pages: [1] 2 3 ... 5
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.146 seconds with 18 queries.

Copyright © 2008 HexRay Ltd. | Sitemap