Author Topic: Group Project: Change item(s) to Layer [Kick Off]  (Read 4546 times)

0 Members and 1 Guest are viewing this topic.

JohnK

  • Administrator
  • Seagull
  • Posts: 10657
Group Project: Change item(s) to Layer [Kick Off]
« on: April 14, 2011, 09:22:37 PM »
Members of theSwamp, I am proud to present the members of the Group "Change to Layer" project.

The members and their positions are as follows.

Boss (Decision Maker):
        Se7en

Lieutenant (Package Assembly):
        dgorsman
        jane doe

Assassin (Documentation editor);
        barc
        Chris

Soldier (Coder / Documentation creation):
        Lee Mac
        alanjt
        pBe


PROJECT DESCRIPTION:
----------------
This project will allow the end user to select an item (before or after tool is called) and change the item(s) selected to a layer of the end users choice. Choice of layer will be made via a dialog box (list box, with an Ok and Cancel button). 

PROJECT CRITERIA:
----------------
        * The project will be coded in LISP, to keep management simple.
        * Both Visual LISP and DXF/(entmake...) functions will be
          acceptable.  I'm hoping to get a SubVersion of this going with
          separate branches for each.

        * All functions and global-scope variables will be prefixed by "7WIP:"
          e.g. 7WIP:functionName.  This will avoid
          ambiguity and interference with other projects.

        * Use of globally scoped variables will be minimized
       
        * Function and variable names will be verbose e.g.
          7WIP:functionName not 7WIP:fNm; layerList not llst.

        * Each function will be preceded with comments describing the type
          and expected input for each argument, the type and expected
          return value, example usage, and a brief description of what the
          function does will also be included. The header will be:

          ;; NAME
          ;;
          ;; DESCRIPTION
          ;;
          ;; ARGUMENTS
          ;;
          ;; EXAMPLE
          ;;
          ;; RETURNS
          ;;
          ;; BY
          ;;
          ;; DATE
          ;;

          Example:

          (defun foo ( / )
             ;; NAME
             ;;    foo
             ;;
             ;; DESCRIPTION
             ;;    Simple function example for theSwamp.org's first
             ;;    group project
             ;;
             ;; ARGUMENTS
             ;;    None
             ;;
             ;; EXAMPLE
             ;;    (foo)
             ;;   
             ;; RETURNS
             ;;    None
             ;;
             ;; BY
             ;;    Se7en
             ;;
             ;; DATE
             ;;    Apr-04-2011 12:19:21 PM
             ;;
             ( code ( here ) )
             (princ)
            )

        * Each function will have its own file to assist with management. 
          the Swamps SubVersion repository will be used for diff'ing,
          checking out and in code.

        * Dialog will be a tempory file. e.g.
                (strcat
                   (vl-filename-directory
                      (findfile "acad.exe"))"\\$vld$.dcl")

        * Program prompt order: 1) Object Selection 2) Layer Dialog

        * Layer dialog will have a filter option for quick selecting of
          layers.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Lee Mac

  • Seagull
  • Posts: 12924
  • London, England
Re: Group Project: Change item(s) to Layer [Kick Off]
« Reply #1 on: April 15, 2011, 12:16:29 PM »
Se7en,

I have written a short Dialog Interface module for this program, should I attach it here, send it to a 'Lieutenant', or am I too early with the code?

Lee

JohnK

  • Administrator
  • Seagull
  • Posts: 10657
Re: Group Project: Change item(s) to Layer [Kick Off]
« Reply #2 on: April 15, 2011, 12:37:33 PM »
This thread is intended to be a place for the general poulation to offer praise, money, first born, etc., etc. (read: for informational purposes).

Cool, but hold off on the code (unless you need to demonstrate), see if you cant work up some sort of writeup explaining how your dialog is to be called, what does it return, etc., etc.. That way we can revise the PSEUDO CODE, get the docs going, and or revise your code based upon future information from the other coders (-i.e. generate a conversation about your portion of the code).
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

Lee Mac

  • Seagull
  • Posts: 12924
  • London, England
Re: Group Project: Change item(s) to Layer [Kick Off]
« Reply #3 on: April 15, 2011, 12:48:33 PM »
Cool - continued discussion in correct thread:

http://www.theswamp.org/index.php?topic=37930.msg429584#msg429584

JohnK

  • Administrator
  • Seagull
  • Posts: 10657
Re: Group Project: Change item(s) to Layer [Kick Off]
« Reply #4 on: April 15, 2011, 12:54:28 PM »
Cool <snip>

Yeah, I am excited too; I can't wait for people to start giving us money. ...I may feel a bit awkward, for a moment to two, the first time someone offers me their first born but the excitment level is high.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

barc

  • Guest
Re: Group Project: Change item(s) to Layer [Kick Off]
« Reply #5 on: April 16, 2011, 01:08:46 PM »
Cool <snip>

Yeah, I am excited too; I can't wait for people to start giving us money. ...I may feel a bit awkward, for a moment to two, the first time someone offers me their first born but the excitment level is high.
My first born is 19 years old, eats a refrigerator of food every two days, costs me about $10K a semester for college, and can't seem to operate a lawn mower in a timely fashion. I'm packing his stuff now, whats your address?

JohnK

  • Administrator
  • Seagull
  • Posts: 10657
Re: Group Project: Change item(s) to Layer [Kick Off]
« Reply #6 on: April 16, 2011, 01:31:17 PM »
Cool <snip>
Yeah, I am excited too; I can't wait for people to start giving us money. ...I may feel a bit awkward, for a moment to two, the first time someone offers me their first born but the excitment level is high.
My first born is 19 years old, eats a refrigerator of food every two days, costs me about $10K a semester for college, and can't seem to operate a lawn mower in a timely fashion. I'm packing his stuff now, whats your address?
Umm...I'm not sure i like where...i dont have...I will give you $5 to keep him.
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

barc

  • Guest
Re: Group Project: Change item(s) to Layer [Kick Off]
« Reply #7 on: April 16, 2011, 04:20:22 PM »
Cool <snip>
Yeah, I am excited too; I can't wait for people to start giving us money. ...I may feel a bit awkward, for a moment to two, the first time someone offers me their first born but the excitment level is high.
My first born is 19 years old, eats a refrigerator of food every two days, costs me about $10K a semester for college, and can't seem to operate a lawn mower in a timely fashion. I'm packing his stuff now, whats your address?
Umm...I'm not sure i like where...i dont have...I will give you $5 to keep him.
hmmph, my brother offered $1400 and use of his beach house.  :)