Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5745

Question about using DrRacket as a front end and Rhino as a backend with the book "Programming for Architects"

$
0
0

Hello there,
To Whom It May Concern:
I am working along with a book titled “Programming for Architects”, it uses

DrRacket as a frontend and Rhino or AutoCAD as a backend, right now I am on section 3.3 called

“Bi-Dimensional Geometric Modelling” so they ask the user to input this two lines in DrRacket’s interface:

#lang racket
(require (planet aml/rosetta))
(backend rhino)

Now, this doesn’t work, but I manage to get at least to the REPL using the following lines:

#lang racket

(require rosetta)
(backend rhino)

Like I said this seems to work to get to the REPL, now when I try the following commands:

(circle (pol 0 0) 4)
(circle (pol 4 (/ pi 4)) 2)
(circle (pol 6 (/ pi 4)) 1)

No matter which one I type, the error message is always the same:

Couldn’t find Rhinoceros

I know, I am very close but I am missing something, what do I need to do in order to write commands in DrRacket and

get Rhino to follow/obey those commands?

Any and all help will be really appreciated.

Thanks.

Alfonso Urroz-Aguirre

6 posts - 4 participants

Read full topic


Viewing all articles
Browse latest Browse all 5745

Trending Articles