不客气。
添加到代码中的矩形。 再次感谢您的光临。
随时欢迎你。 请编辑您的原始帖子,将代码包含在代码标签中。 (defun dtr(a)(*pi(/a 180.0))(defun gpuser()(setq sp(getpoint“\n起始路径点:”)(setq ep(getpoint sp“\n起始路径点:”)(setq hwidth(getdist“\n路径的自宽:”sp))(setq trad(getdist“nRadius of tiles:”sp))(setq tspac(getdist“\n在tiles之间放置:“sp”)(setq pangle(angle sp ep))(setq plength(distance sp ep))(setq width(*2 hwidth))(setq angp90(+pangle(dtr 90)));路径角+90度(setq angm90(-pangle(dtr 90));路径角度-90度)(defun drawing()(命令“pline”(setq p(polar sp angm90 hwidth))(setq p(polar p pangle plungth))(setq p(polar p angp90 width))(polar p(+pangle(dtr 180))plungth)“close”)(defun drow(pd offset)(setq pfirst(polar sp pangle pd))(setq pctile(polar pfirst angp90 offset))(setq pltile pctile)(while(<(distance pfirst pltile)(-hwidth trad))(命令“circle”pltile trad)(setq pltile(polar pltile angp90(+tspac trad)))(setq pltile(polar pctile angm90(+tspac trad)))(而(<(distance pfirst pltile)(-hwidth trad))(命令“circle”pltile trad)(setq pltile(polar pltile angm90(+tspac trad()))(defun drawtiles()(setq pdist(+tspac))(抵消0.0)(而(
页:
1
[2]